This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: Problematic linking between glibc and shared libgcc


>>>>> "Joe" == Joe Buck <jbuck@synopsys.COM> writes:

    >> It's been a long-standing GCC policy not to use -rpath (or
    >> equivalent) when linking with any shared library so that people
    >> can move the libraries around later.
    >> 
    >> The argument for -rpath are that it makes things easier for
    >> users if you *don't* move stuff; the argument it against is
    >> that it makes things harder if you do.

    Joe> What if there were a simple flag (which would not be the
    Joe> default) saying to wire in the paths to the gcc-supplied
    Joe> libraries?  (Use of this flag would be an error on platforms
    Joe> that don't support the rpath concept).  Documentation for the
    Joe> flag would warn that binaries produced this way won't run on
    Joe> machines that don't put the libraries in the exact same
    Joe> places. 

I certainly have no objection.

 --
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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