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: PATCH: Handle the shared libgcc is a system library


On Sun, Jul 01, 2001 at 06:47:05PM -0700, H . J . Lu wrote:
> Just following what you said, "like glibc installs its libraries", in
> glibc, we do
> 
> # ldconfig
> 
> as the last step. At that time, the magic thing happens. That is now
> you have
> 
> /lib/libutil.so.1 -> libutil-2.2.3.so
> 
> In gcc, if we can't assume ldconfig is available, we can do

Would we ever be in this situation?  If we know that we are:

1)  Installing on GNU/Linux, and
2)  Doing --prefix=/usr, or shlibdir=/lib, or whatever we did that makes
    us affect /lib, and
3)  Messing with symlinks in /lib during install time,

would ldconfig ever /not/ be available?

(Personally, I've only ever messed with 3 flavors/vendors/distros of Linux,
but they all used ldconfig.)


Phil

-- 
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
                                     - anonymous Egyptian scribe, c.1700 BC


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