This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Thumb support for ARM
- To: tim at cygnetinc dot com (Tim Michals)
- Subject: Re: [ECOS] Thumb support for ARM
- From: "Lewin A.R.W. Edwards" <larwe at larwe dot com>
- Date: Sun, 18 Mar 2001 00:39:55 -0500
- Cc: <ecos-discuss at sourceware dot cygnus dot com>
- References: <006301c0ad99$c5ad89e0$d301010a@cygnetinc.com>
>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."