[arm-linux target] better support for soft-float and default cpu

Rod Stewart stewart@lab43.org
Tue Dec 11 08:38:00 GMT 2001


On Thu, 29 Nov 2001, jeroen dobbelaere wrote:

> [..]
>
> >>
> >
> > This looks wrong to me.  Surely if the default is for soft float then
> > this ought to be:
> >
> >     #ifdef TARGET_CPU_DEFAULT_USE_SOFTFLOAT
> >     #define LIBGCC_SPEC "%{!mhard-float:-lfloat} -lgcc"
> >     #else
> >     #define LIBGCC_SPEC "%{msoft-float:-lfloat} -lgcc"
> >     #endif
>
>
> Ok. But in that case, I need to get a 'libfloat.a'.
> How can I build this ?

libfloat.a is from a separate library.  I'm not certain where the original
comes from, but there is a copy at
	ftp://ftp.netwinder.org/pub/netwinder/SRPMS/dm/3.1-15/libfloat*

-Rms



More information about the Gcc-patches mailing list