gcc -march for the ARM9 core
I am trying to compile a C test program for the ARM9 core and cannot seem
to get the right architecture comple option set correctly. using the following I get bad value (arm9) gcc -march=arm9 test.c test.c:1:0: error: bad value (arm9) for -march= switch |
Just checked the manual and there is no arm9.
http://gcc.gnu.org/onlinedocs/gcc-4....ml#ARM-Options is this for a RPi if so I think that uses arm7. |
When you are using your Linux Computer to compile software for arm :
A complete tool-chain is a must. ( Unless the used Linux computer also has an arm processor. ( arm9.)) A tool-chain is : binutils, gcc, a *libc. (Glibc Uclibc eglibc etc.) All built for arm only. The recommended tool-chain : crosstool-ng http://crosstool-ng.org/ > http://crosstool-ng.org/download/cro...1.15.2.tar.bz2 . |
All times are GMT -5. The time now is 10:21 AM. |