This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: is it wise to put -msoft-float in TARGET_CFLAGS?


On Fri, Jan 30, 2004 at 11:40:21PM -0800, Dan Kegel wrote:
> David Wuertele wrote:
> >My cpu has no fpu.  Should I be putting -msoft-float in TARGET_CFLAGS
> >so that crosstool builds glibc with soft floats?
> 
> I'm not so sure about that.  There has been some confusion
> on the right option to use.  For the ppc405, it seems to be
> --without-fp

Wait, --without-fp is for configure options whereas -msoft-float ist for
gcc CFLAGs, so if TARGET_CFLAGS contains the CFLAGS you hand out to gcc
when you compile your stuff for the target (I'm not sure about how
crosstool uses it) should be right. 

Robert 
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstraße 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]