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]

Re: The library interface again


> 
> 
>   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)


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