arm-gcc and THUMB instructions?
Vermeulen Jan
Jan.Vermeulen@siemens.atea.be
Fri Oct 19 08:24:00 GMT 2001
Hi Jan,
> Can gcc compile code for ARM7TDMI processors in THUMB state?
Yes
>If yes: how to configure it??
specify -mthumb-interwork and -mcpu=arm7tdmi on the commandline of gcc.
example:
[prompt]$ arm-elf-gcc -mthumb-interwork -mcpu=arm7tdmi -o test test.c
best regards,
Jan
PS: this is stated clearly in the manual (along with many other cool options
for ARM targets.) Have a look at gcc.gnu.org to download the manual.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list