From: Wolfgang Denk Date: Mon, 24 Aug 2009 15:05:24 +0200 Subject: [U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support In-Reply-To: <73173D32E9439E4ABB5151606C3E19E202E3915D98@SC-VEXCH1.marvell.com> References: <73173D32E9439E4ABB5151606C3E19E202E3915D98@SC-VEXCH1.marvell.com> Message-ID: <20090824130524.21BA8833DBD2@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Prafulla Wadaskar, In message <73173D32E9439E4ABB5151606C3E19E202E3915D98@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_