[ELDK] cannot find -lgcc

Andika Gunawan ndikz91 at gmail.com
Wed Jan 16 12:54:32 CET 2013


Hi, i'm a newbie on embedded system, sorry if i'm asking a basic question..
i have installed eldk5.3 on ubuntu maverick for cross-compiling to arm
based board..
the problem is about cross compiling u-boot :
first, i've done this :
cd u-boot
export ARCH=arm
export CROSS_COMPILE=armv4t-
source /TA/ELDK5.3/armv4t/environment-setup-armv4t-linux-gnueabi

then i use make file statement

make at91rm9200ek_config
make all

it's working fine for a while, then i received this error

armv4t-ld.bfd: cannot find -lgcc
make: *** [/home/andi/Desktop/ubootbuild/u-boot] Error 1

i have installed some gcc packages :
dpkg --get-selections | grep gcc
gcc         install
gcc-4.4 install
gcc-4.4-arm-linux-gnueabi install
gcc-4.4-arm-linux-gnueabi-base install
gcc-4.4-base install
gcc-4.5-arm-linux-gnueabi-base install
gcc-4.5-base install
gcc-arm-linux-gnueabi install
libgcc1 install
libgcc1-armel-cross install

i don't know why i got this error..
are there any other package that i must install?

Thanks in advance
Best regards,
Andi


More information about the eldk mailing list