[U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support
Wolfgang Denk
wd at denx.de
Mon Aug 24 15:05:24 CEST 2009
Dear Prafulla Wadaskar,
In message <73173D32E9439E4ABB5151606C3E19E202E3915D98 at SC-VEXCH1.marvell.com> you wrote:
>
> I get following erro only if I execute following build command
> make mrproper; make sheevaplug_config; make USE_PRIVATE_LIBGCC=no
> CROSS_COMPILE=armv5tel-redhat-linux-gnueabi- 2> warn.txt
>
> And cat warn.txt
> armv5tel-redhat-linux-gnueabi-ld: cannot find -lgcc
> make: *** [u-boot] Error 1
This is to be expected, because the command is wrong.
USE_PRIVATE_LIBGCC takes either the value "yes" (to use the U-Boot
supplied routines, or the name of a directory which contains the
needed libgcc.a library - and you don;t have a directory "no", it
seems.
> Whereas,
> if I unset first USE_PRIVATE_LIBGCC then I do not get this error and build is through
> My invocation may be wrong but shouldn't it treat USE_PRIVATE_LIBGCC=no as unset?
No, it should not.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"He only drinks when he gets depressed." "Why does he get depressed?"
"Sometimes it's because he hasn't had a drink."
- Terry Pratchett, _Men at Arms_
More information about the U-Boot
mailing list