On 23-11-09 07:14, RK Raggit wrote:
Hi,
I am adding support for a cortex-a9 based machine but the build fails at gcc
with this error -
****************
|
/home/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.2.4-r9.1/gcc-4.2.4/gcc/crtstuff.c:1:
error: bad value (cortex-a9) for -mtune= switch
Gcc 4.2.4 doesn't support armv7
gcc variables in my local.conf read thus -
PREFERRED_VERSION_gcc = "4.2.4"
PREFERRED_VERSION_gcc-cross = "csl-arm-2008q1"
PREFERRED_VERSION_gcc-cross-initial = "csl-arm-2008q1"
PREFERRED_VERSION_gcc-cross-intermediate = "csl-arm-2008q1"
Don't use CSL toolchains, they are waaaay to broken, especially 2008qX:
http://hardwarebug.org/2008/11/28/codesourcery-fails-again/
Stick with the default toolchain angstrom is using, it is tested on real
hardware (CS only tests inside qemu) and is know to work well
regards,
Koen
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel