This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to get top-level library installed in lib/gcc-lib/...?
- To: Dave Love <d dot love at dl dot ac dot uk>
- Subject: Re: How to get top-level library installed in lib/gcc-lib/...?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 17 Jun 1998 21:17:36 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <rzqhg1jvnya.fsf@djlvig.dl.ac.uk>you write:
> I don't understand why it is this way, though I haven't had time to
> look closely. Why are libf2c and libstdc++ different? [Answer
> presumably to await mail.gnu.org getting sorted out...]
There have been discussions about moving libstdc++ into libsubdir,
but no real decision was ever made. There's pros and cons to moving
it into libsubdir.
Consider what happens if you move it into libsubdir and it's built
as a shared library.
You've just made programs which use libstdc++ (any C++ program) rely
on being able to find libsubdir/libstdc++.so at runtime. ANd if your
sysadmin updates compilers and wipes out the old version, then your
programs will be unable to find the right libstdc++.so and will not
run.
This is the same argument against libgcc.sl.
Hmmm, right now we don't built libf2c as a shared library, presumably
we might one day?!? In which case we've got the same problem.
jeff