This is the mail archive of the gcc@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: [Part of] your Dec., 4th change to libf2c/Makefile.in.


On Jan  1, 2002, Richard Henderson <rth@redhat.com> wrote:

> On Tue, Jan 01, 2002 at 08:49:32PM -0200, Alexandre Oliva wrote:
>> I really think that having libgcc_s.so and any other libraries
>> directly in $(libdir) is wrong, precisely because of the multilib issue.

> You've not looked at how this works, have you.  The multilib name
> is encoded in the shared library name, so you get

> 	libgcc_s.so
> 	libgcc_s_soft-float.so

I knew about that, and I know it only applies to libgcc_s, not to any
other shared libraries installed as part of GCC.

Anyway, I must confess that I dislike this alternative, and I wouldn't
recommend it for other libraries.  I'd like using the SONAME to
distinguish libraries from one another if doing so were portable and
transparent.  But not all systems have a notion of SONAME, and options
such as -msoft-float won't get -lg2c changed to -lg2c_soft-float, as
it would be necessary for this trick to be transparent.

Not that I have something better to suggest :-(

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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