This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: The library interface again
- To: law at cygnus dot com
- Subject: Re: The library interface again
- From: hjl at lucon dot org (H.J. Lu)
- Date: Mon, 27 Jul 1998 16:47:06 -0700 (PDT)
- Cc: egcs-patches at cygnus dot com, drepper at cygnus dot com (Ulrich Drepper), libc-hacker at cygnus dot com (GNU C Library)
>
>
> In message <m0z0rBf-00038iC@ocean.lucon.org>you write:
> > > For folks where this issue is indeed a problem, we should inform them
> > > about the option to place the library & include files in $libsubdir
> > > (and of course note the caveats for using that option).
> >
> > That is not a best solution. For system without shared library,
> > it is a waste of disk space. For ELF, it is not necessary.
> I think the libsubdir is the best short term (egcs-1.1) solution.
That may lead a mess for Linux, especially for glibc 2.0 and 2.1.
FYI, as far as C++ is concerned, glibc 2.0 and 2.1 have different
ABIs. You cannot mix 2 shared C++ libraries, one compiled against
2.0 and the other against 2.1.
> Your solution is better long term.
>
Mine is a working solution. For Linux, the libsubdir one is no better
than the current one if not worse since it introduces the dependency
on libsubdir.
--
H.J. Lu (hjl@gnu.org)