gcc for ARM in thumb mode
Richard Earnshaw
rearnsha@arm.com
Thu Feb 20 11:16:00 GMT 2003
> 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.
More information about the Gcc
mailing list