Hi!<br><br>I am trying to compile u-boot-1.1.5 for at91sam9261ek with arm926ejs cpu. I am using the eldk<br>cross toolchain 4.1 which is using gcc 4.0.0.<br>When I try to compile u-boot I get following error <br><br>25an@25an-desktop


:/opt/x-compile/eldk/workingare<div>a/u-boot-1.1.5_atmel_1.2$ make ARCH=arm CROSS_COMPILE=arm-linux- <br>for dir in tools examples post post/cpu ; do make -C $dir _depend ; done<br>make[1]: Entering directory `/opt/x-compile/eldk/workingarea/u-
boot-1.1.5_atmel_1.2/tools&#39;<br>make[1]: Nothing to be done for `_depend&#39;.<br>make[1]: Leaving directory `/opt/x-compile/eldk/workingarea/u-boot-1.1.5_atmel_1.2/tools&#39;<br>make[1]: Entering directory `/opt/x-compile/eldk/workingarea/u-
boot-1.1.5_atmel_1.2/examples&#39;<br>make[1]: Nothing to be done for `_depend&#39;.<br>make[1]: Leaving directory `/opt/x-compile/eldk/workingarea/u-boot-1.1.5_atmel_1.2/examples&#39;<br>make[1]: Entering directory `/opt/x-compile/eldk/workingarea/u-
boot-1.1.5_atmel_1.2/post&#39;<br>make[1]: Nothing to be done for `_depend&#39;.<br>make[1]: Leaving directory `/opt/x-compile/eldk/workingarea/u-boot-1.1.5_atmel_1.2/post&#39;<br>make[1]: Entering directory `/opt/x-compile/eldk/workingarea/u-
boot-1.1.5_atmel_1.2/post/cpu&#39;<br>make[1]: Nothing to be done for `_depend&#39;.<br>make[1]: Leaving directory `/opt/x-compile/eldk/workingarea/u-boot-1.1.5_atmel_1.2/post/cpu&#39;<br>make -C tools all<br>make[1]: Entering directory `/opt/x-compile/eldk/workingarea/u-
boot-1.1.5_atmel_1.2/tools&#39;<br>make[1]: Leaving directory `/opt/x-compile/eldk/workingarea/u-boot-1.1.5_atmel_1.2/tools&#39;<br>make -C examples all<br>make[1]: Entering directory `/opt/x-compile/eldk/workingarea/u-boot-1.1.5_atmel_1.2/examples


&#39;<br>arm-linux-gcc
-g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float&nbsp;
-fno-strict-aliasing&nbsp; -fno-common -ffixed-r8 -msoft-float -D__KERNEL__
-DTEXT_BASE=0x23f00000&nbsp; -I/opt/x-compile/eldk/workingarea/u-
boot-1.1.5_atmel_1.2/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/x-compile/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include
-pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -mapcs-32
-march=armv5te -mtune=arm926ejs -Wall -Wstrict-prototypes -c -o
hello_world.o hello_world.c
<br>cc1: error: invalid option &#39;apcs-32&#39;<br>hello_world.c:1: error: bad value (arm926ejs) for -mtune= switch<br>make[1]: *** [hello_world.o] Error 1<br>make[1]: Leaving directory `/opt/x-compile/eldk/workingarea/u-
boot-1.1.5_atmel_1.2/examples&#39;<br>make: *** [examples] Error 2<br><br>Any ideas?<br>I
would also appreciate any suggestion how to locate the error since
right now I have not even managed to locate were the flag is set.
<br><br>Thanks</div>