[ELDK] arm-linux-gcc command not found

Peter Stefanos peter at pennywise.com.au
Mon Aug 17 02:03:31 CEST 2009


Hello All,

I must first stress that I am new to Linux.
So far I have successfully compiled, loaded and run ucLinux on an
embedded artists LPC2468 board, however, I have had little success in
compiling the u-boot-1.1.6 source on Debian linux. I believe I have
installed the ELDK correctly and added the appropriate paths to the
environment. When I type the compiler name I get:

peter at Captain:~$ arm-linux-gcc -v
Using built-in specs.
Target: arm-linux
Configured with: 
/opt/eldk/build/arm-2006-01-16/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/gcc-4.0.0/configure 
--target=arm-linux --host=i686-host_pc-linux-gnu 
--prefix=/var/tmp/eldk.2XRo76/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux 
--with-headers=/var/tmp/eldk.2XRo76/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/arm-linux/include 
--with-local-prefix=/var/tmp/eldk.2XRo76/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/arm-linux 
--disable-nls --enable-threads=posix --enable-symvers=gnu 
--enable-__cxa_atexit --enable-languages=c,c++ --enable-shared 
--enable-c99 --enable-long-long
Thread model: posix
gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)

So it can find the gcc compiler. Then I type and get:

peter at Captain:/cadet/u-boot-1.1.6$ sudo make LPC2468OEM_Board_16bit_config
Configuring for LPC2468OEM_Board_16bit board...

So far so good? Then I type:

peter at Captain:/cadet/u-boot-1.1.6$ sudo make
make: arm-linux-gcc: Command not found
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/cadet/u-boot-1.1.6/tools'
ln -s ../common/environment.c environment.c
ln -s ../lib_generic/crc32.c crc32.c
make[1]: Leaving directory `/cadet/u-boot-1.1.6/tools'
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/cadet/u-boot-1.1.6/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/cadet/u-boot-1.1.6/tools'
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/cadet/u-boot-1.1.6/examples'
/bin/sh: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: line 2: arm-linux-gcc: command not found
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
make[1]: Leaving directory `/cadet/u-boot-1.1.6/examples'
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/cadet/u-boot-1.1.6/post'
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
make[1]: Leaving directory `/cadet/u-boot-1.1.6/post'
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/cadet/u-boot-1.1.6/post/cpu'
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
/bin/sh: line 2: arm-linux-gcc: command not found
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
make[1]: Leaving directory `/cadet/u-boot-1.1.6/post/cpu'
make: *** [depend] Error 2
peter at Captain:/cadet/u-boot-1.1.6$


I don't fully understand what its trying to tell me, but it seems that
it can't find the arm-linux-gcc compiler and I don't understand why
since I can type it in the command line and it appears to find it.

Any help would be greatly appreciated... The answer is probably
obvious... except its not obvious to me!

Peter



More information about the eldk mailing list