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]

Re: How to get top-level library installed in lib/gcc-lib/...?



  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


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