[beagleboard] U-Boot Build Errors

I’m following the U-Boot build instructions at eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot and am getting this error:

rmorrison@mvp-dev:~/ArmDebian/u-boot$ ${CC}gcc --version
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.8-2014.03 - Linaro GCC 2014.03) 4.8.3 20140303 (prerelease)
Copyright © 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

make ARCH=arm CROSS_COMPILE=${CC} distclean
make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_config
make ARCH=arm CROSS_COMPILE=${CC}

rmorrison@mvp-dev:~/ArmDebian/u-boot$ make ARCH=arm CROSS_COMPILE=${CC}
CHK include/config/uboot.release
CHK include/generated/version_autogenerated.h
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
HOSTCC tools/dumpimage.o
HOSTCC tools/image-host.o
HOSTCC tools/mkenvimage.o
HOSTCC tools/mkimage.o
HOSTLD tools/envcrc
HOSTLD tools/mkenvimage
HOSTLD tools/dumpimage
HOSTLD tools/mkimage
AS arch/arm/cpu/armv7/start.o
CC arch/arm/lib/board.o
LD arch/arm/lib/built-in.o
CC board/ti/am335x/board.o
LD board/ti/am335x/built-in.o
CC common/main.o
CC common/cmd_version.o
LD common/built-in.o
CC lib/display_options.o
LD lib/built-in.o
LD examples/standalone/hello_world
/home/mvpcal/ArmDebian/u-boot/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin/arm-linux-gnueabihf-ld.bfd: cannot find -lgcc
make[2]: *** [examples/standalone/hello_world] Error 1
make[1]: *** [examples/standalone] Error 2
make: *** [examples] Error 2

I am using Kbuntu 13.10 32 bit.

Thanks so much,

Ross

Never "install" gcc into the same directly that contains "u-boot"..

Regards,

if you "look" close at the actual instructions. gcc is downloaded into
'~/' aka /home/<user>/ and then u-boot is cloned into '~/u-boot' aka
/home/<user>/u-boot/

Regards,

Thank you Robert.

And yes, I was being blind and a bit ignorant. All is working now. Thank you for all your hard work on getting the Debian release ready.

Ross