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] | |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |