[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Extra -msoft-float libraries

On Wed, Jul 21, 1999 at 12:00:46PM -0700, Jim Pick wrote:
> Hi,
> Philip Blundell's recent patch for gcc-2.95 builds some extra
> "MULTILIB" libraries compiled with the -msoft-float libraries.
> I noticed that the gcc-nof package used on the powerpc does something
> similar.  eg:
>  Package: gcc-nof
>  Description: The no-floating-point gcc libraries
>   These are versions of basic static libraries such as libgcc.a compiled
>   with the -msoft-float option, for CPUs without a floating-point unit.
> On the powerpc, it looks like the -msoft-float stuff gets installed in
> /usr/lib/nof and /usr/lib/gcc-lib/<BUILD_SYSTEM>/nof.
> On ARM, we've got:
> usr/lib/gcc-lib/arm-debian-linux-gnu/2.95/soft-float/libgcc.a


> I'm guessing that these are the same as "nof" on the powerpc.  If
> that's the case, I find it to be a little bit inconsistent.
> Should I use the same "-nof" package on ARM for the soft-float stuff?
> Perhaps things should be harmonized a bit more so that the gcc
> Makefiles for both ARM and powerpc install into either "nof" or
> "soft-float"?

I think in this case I would go with changing the name of the package
to gcc-soft-float; powerpc-linux seems to be just about the only target
to use nof.  Some targets use 'soft', but 'soft-float' is much more
prevalent, and makes more sense, I think.

Also, it appears that powerpc is supposed to be multilibbing on -fPIC. 
I think it is time to clean up multilib a little, and reduce some of
the ugly hacks.

I shall abuse the rules file further tonight.


/--------------------------------\  /--------------------------------\
|       Daniel Jacobowitz        |__|        SCS Class of 2002       |
|   Debian GNU/Linux Developer    __    Carnegie Mellon University   |
|         dan@debian.org         |  |       dmj+@andrew.cmu.edu      |
\--------------------------------/  \--------------------------------/

Reply to: