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: libgcc_s.so.1 yet again


On Tuesday 12 February 2002 20:50, Rainer Orth wrote:
> Jakub Jelinek writes:
> > > Right, but its not only SPARC/Solaris 7+: MIPS/IRIX 6 is in the same
> > > boat with the N32 and N64 ABIs.
> >
> > Well, slightly different, since SPARC/Solaris uses /lib/libfoo.so.* and
> > /lib/sparcv9/libfoo.so.* while Irix uses /lib/libfoo.so.*,
> > /lib64/libfoo.so.*, /libn32/libfoo.so.* (which is what SPARC Linux uses
> > as well).
>
> Indeed (only that its /lib32/libfoo.so.* for the N32 ABI), but I really
> dislike this scheme since it doesn't match the GNU coding standards (only a
> single lib dir), creates platform specific maintenance hassle
> (e.g. special-casing three different libdirs on IRIX) and doesn't match
> the established practice of using subdirs for non-default multilibs.

It is the way it's done on multiarch platforms:

[sledgehammer:/] # ll */libc*
-rwxr-xr-x    1 root     root      1384168 Sep 20  2001 lib/libc.so.6
-rwxr-xr-x    1 root     root     14646840 Feb 13  2002 lib64/libc-2.2.5.so
lrwxrwxrwx    1 root     root           13 Feb 13  2002 lib64/libc.so.6 -> 
libc-2.2.5.so

If you can come up with a way to have both a 32 and 64 bit libc.so.6 on the 
system without a lib64 or something equivalent, I'd like to hear about it.

Bo.

-- 

     Bo Thorsen                 |   Praestevejen 4
     Free software developer    |   5290 Marslev
     SuSE Labs                  |   Denmark


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