xscale-elf-gcc and arm-elf-gcc
Nick Clifton
nickc@cambridge.redhat.com
Fri Jan 18 12:29:00 GMT 2002
Hi Arvind,
> How do I find out what the default mcpu is while compiling with
> arm-elf-gcc/xscale-elf-gcc?
You could add "-v" to the command line and look at which architecture
string is defined. For arm-elf-gcc you will probably see something
like this:
-D__ARM_ARCH_4T__
Whereas for xscale-elf-gcc you will see:
-D__ARM_ARCH_5TE__
and also:
-D__XSCALE__
Cheers
Nick
More information about the Gcc
mailing list