Dear Prafulla Wadaskar, In message <73173d32e9439e4abb5151606c3e19e202e3915...@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: w...@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_ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot