This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ARM-Thumb support?


Wai Sun,

We are using arm-coff pa-risc cross gcc 2.79.  It has been somewhat
modified by WRS, however, I compiled my own version of arm-coff gcc and
it has all the same command line options and behaves the same, at least
on the surface.  Anyhow, here are the arguments we use for our ARM7TDMI
cpu to generate thumb code:

-mthumb -mthumb-interwork -DCPU=ARM7TDMI_T         

You need to have thumb-interwork there at all times, even if you are not
planning to use that (no thumb-arm code mixture)

We are using arm7tdmi and we are mostly using arm code, as it is capable
of running either one.  We have found that thumb support is not as great
in the version of gcc we are using, and not much better in the gcc 2.96
(again supplied by WRS) we just tried in the recent months.

Hope that helps,
Sergey


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]