... with an error: as: unrecognized option '-EL' after the "CC scripts/mod/empty.o" on Ubuntu 10.04 running as user (not root).
It looks like the toolchain's compiler is calling the host's "as" and not the one for the cross compile. Does anyone know what's wrong?
CodeSourcery toolchain has the following file dates:
pnorisez@Ubuntu-1004:/opt/codesourcery/Sourcery_G++_Lite/bin$ ls -l
total 15348
-rwxr-xr-x 1 root root 543420 2009-05-21 12:27 arm-none-linux-gnueabi-addr2line
-rwxrwxr-x 2 root root 564048 2009-05-21 12:27 arm-none-linux-gnueabi-ar
-rwxrwxr-x 2 root root 943708 2009-05-21 12:27 arm-none-linux-gnueabi-as
-rwxr-xr-x 2 root root 200980 2009-05-21 12:27 arm-none-linux-gnueabi-c++
-rwxr-xr-x 1 root root 539384 2009-05-21 12:27 arm-none-linux-gnueabi-c++filt
-rwxr-xr-x 1 root root 199732 2009-05-21 12:27 arm-none-linux-gnueabi-cpp
-rwxr-xr-x 2 root root 200980 2009-05-21 12:27 arm-none-linux-gnueabi-g++
-rwxr-xr-x 2 root root 198548 2009-05-21 12:27 arm-none-linux-gnueabi-gcc
-rwxr-xr-x 2 root root 198548 2009-05-21 12:27 arm-none-linux-gnueabi-gcc-4.3.3
-rwxr-xr-x 1 root root 23536 2009-05-21 12:27 arm-none-linux-gnueabi-gcov
-rwxr-xr-x 1 root root 2728868 2009-05-21 12:27 arm-none-linux-gnueabi-gdb
-rwxr-xr-x 1 root root 2728868 2009-05-21 12:27 arm-none-linux-gnueabi-gdbtui
-rwxr-xr-x 1 root root 602080 2009-05-21 12:27 arm-none-linux-gnueabi-gprof
-rwxrwxr-x 2 root root 946080 2009-05-21 12:27 arm-none-linux-gnueabi-ld
-rwxrwxr-x 2 root root 550076 2009-05-21 12:27 arm-none-linux-gnueabi-nm
-rwxrwxr-x 2 root root 694100 2009-05-21 12:27 arm-none-linux-gnueabi-objcopy
-rwxrwxr-x 2 root root 824024 2009-05-21 12:27 arm-none-linux-gnueabi-objdump
-rwxrwxr-x 2 root root 564080 2009-05-21 12:27 arm-none-linux-gnueabi-ranlib
-rwxr-xr-x 1 root root 303624 2009-05-21 12:27 arm-none-linux-gnueabi-readelf
-rwxr-xr-x 1 root root 543452 2009-05-21 12:27 arm-none-linux-gnueabi-size
-rwxr-xr-x 1 root root 334148 2009-05-21 12:27 arm-none-linux-gnueabi-sprite
-rwxr-xr-x 1 root root 543388 2009-05-21 12:27 arm-none-linux-gnueabi-strings
-rwxrwxr-x 2 root root 694100 2009-05-21 12:27 arm-none-linux-gnueabi-strip