[ECOS] How to run eCos in SMDK41100 board

Jonathan Larmour jlarmour@redhat.com
Tue Jan 30 20:14:00 GMT 2001

"Lewin A.R.W. Edwards" wrote:
> > > But ignore the instructions on how to build for arm-thumb, because it
> > > doesn't seem to work with any downloadable version of the gcc source tree.
> > > Build the regular arm-elf version.
> >
> >If you are referring to the change in gcc that meant that you could no
> >longer configure gcc for "thumb-elf", and instead using regular arm-elf
> >tools with -mthumb, then that was fixed quite a while ago.
> Two things:
> 1. When is "quite a while ago"? The last time I tried it was about two
> months ago, maybe less. TTBOMK there has not been a new gcc release since
> then...?

I meant that the instructions were updated to reflect the change in gcc.

> 2. Correct me if I misunderstand the situation, but the state of affairs
> with the current versions of gcc and binutils seems to be that you can
> configure binutils so that it will support assembly of thumb instructions
> (with -mthumb to gas) but gcc will not take advantage of this. So you can
> only take advantage of thumb if you are writing in assembler, meaning that
> thumb support is basically broken at this time.

My understanding is that compiling with "arm-elf-gcc -mthumb" should work.
Does it not?

Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

More information about the Ecos-discuss mailing list