This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug driver/7957] change request: more flexible %D specs directive so no need to set LD_LIBRARY_PATH


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7957

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #5)
> I really doubt that we want this option as we have always recommend in
> setting LD_LIBRARY_PATH.

Relying on LD_LIBRARY_PATH can be a liability. The "RPATH is evil" argument is
mostly based on NFS problems, but if I never allow NFS near my systems then
that argument doesn't stand up.

Users should be able to choose for themselves if they want to use RPATH or
LD_LIBRARY_PATH.

PR 53002 makes it easier to use specs to solve this problem, PR 45508 comment
10 describes a plan that would be equivalent to --with-rpath-in-specs, so
closing this as a dup

*** This bug has been marked as a duplicate of bug 45508 ***


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