This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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: [arm-linux target] better support for soft-float and defaultcpu



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


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