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]
Other format: [Raw text]

Re: thumb code


Vinayak P Risbud <vinayak@multitech.co.in> wrote:

> How to generate, arm thumb code for my C using GCC cross
> compiler?

 It depends on the GCC version: Before gcc-3.x a separate
'thumb-coff/elf' GCC was needed, 'arm' and 'thumb' were
handled as two separate CPUs, although both had the
'-mthumb-interwork' option... The gcc-3.x has these glued
together...

> What is the compiler option ?

 It is the '-mthumb' in gcc-3.x... With gcc-2.95.3 you
must have two separate cross-GCCs.

 BTW, do you have the GCC-manual ?  If not, why not get
it and examine the 'Invoking / Submodel Options' ?  If
you don't know how to get it or from where to download
it preformatted (PDF, HTML,...), please ask about this,
not about some option...


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


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