This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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: gcc for ARM in thumb mode


> I am trying to figure out whether it's possible at all to build a gcc 
> cross-compiler for ARM720T in thumb mode? I am looking, if possible, to 
> use uClibc.
> Does anyone has any experience with this?
> I have gcc 2.95.3(with uClibc) configured and running for 
> target=arm-linux perfectly. Do I just need to change the target or some 
> more work required?
> 
> Thank you,
> 

Gcc already contains support for compiling to thumb; just add -mthumb to 
all your compiles and you will get thumb code generated.

Whether the rest of the arm-linux tools can cope with this is a separate 
issue.

R.


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