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

Robert Schwebel
Sat Jan 31 10:42:00 GMT 2004

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. 

 Dipl.-Ing. Robert Schwebel |
 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,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list