[uClinux-dev] Errors when compile uClinux with CodeSourcery tool
chains
Mike Wu
wgclyb at gmail.com
Fri Nov 9 10:24:40 EST 2007
Hi,
I want to use the CodeSourcery tool chains to compile
uClinux-dist-20070130.
But I don't know where to specify the compiler. I used the following
command to compile, but it failed:
> export PATH=/home/xxxx/Linux/arm-2007q3/bin:$PATH
> make arch=ARM CROSS_COMPILE=arm-uclinuxeabi- lib_only
...
Making symlinks in include/
/bin/sh: ucfront-gcc: command not found
Making include/c++ symlink to compiler c++ includes
/bin/sh: ucfront-gcc: command not found
ln: creating symbolic link `./c++' to `c++': File exists
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/wugc/Linux/uClinux-dist/include'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/wugc/Linux/uClinux-dist/lib'
make: *** [lib_only] Error 2
Does the CodeSourcery tool chains work for uClinux? or is there
something misconfigured with the tool chain?
My compile environment: Sles10.1, gcc version 4.1.2 20070115
(prerelease) (SUSE Linux), CodeSourcery Sourcery G++ Lite 2007q3-51 .
More information about the uClinux-dev
mailing list