From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lewin A.R.W. Edwards" To: tim@cygnetinc.com (Tim Michals) Cc: Subject: Re: [ECOS] Thumb support for ARM Date: Sat, 17 Mar 2001 21:39:00 -0000 Message-id: <4.3.2.7.2.20010318002853.00bab7b0@mail.larwe.com> References: <006301c0ad99$c5ad89e0$d301010a@cygnetinc.com> <008b01c0af2c$fc3f42c0$d301010a@cygnetinc.com> X-SW-Source: 2001-03/msg00258.html >According to the eCOS web page at > http://sources.redhat.com/ecos/tools/win-thumb-elf.html >the current 2.95.2 does not support arm thumb, what is the issue? And when >might this be fixed? The issue isn't that 2.95.2 doesn't support arm-thumb, the issue is that it won't successfully compile eCos in thumb mode. There doesn't seem to be a complete solution to that problem at the moment. What I have done is to use a recent CVS snapshot of the gcc sources, compiled for arm-elf. (Newer versions of gcc support -mthumb to generate Thumb code). It still is not possible to compile eCos as Thumb code (known gcc bug). However you can compile eCos in ARM mode, and specify the -mthumb-interwork switch. You can then compile your app in thumb mode with -mthumb -mthumb-interwork). Note that in order to achieve this, you will also need to have the standard libraries built with thumb interworking enabled. Jonathan Larmour posted instructions for this a couple of weeks back, check the list archives. === Lewin A.R.W. Edwards (Embedded Engineer) Work: http://www.digi-frame.com/ Personal: http://www.zws.com/ and http://www.larwe.com/ "Und setzet ihr nicht das Leben ein, Nie wird euch das Leben gewonnen sein."