public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Auto-rpath revisited...
@ 1998-02-20 12:26 Lee Iverson
  1998-02-20 16:10 ` Ian Lance Taylor
  1998-02-27 16:51 ` Jim Wilson
  0 siblings, 2 replies; 28+ messages in thread
From: Lee Iverson @ 1998-02-20 12:26 UTC (permalink / raw)
  To: egcs

OK.  I have an implementation of a system for automatically generating
shared lib rpaths in collect2.  It carefully walks through
'-L'-specified paths and searches for shared libraries which will
actually resolve the link search.  This should deal with the
previously raised objections to automatic techniques which just map -L
to rpath, and definitely solves the problem of needing LD_LIBRARY_PATH
in order to even run a minimal C++ program on systems where
libstdc++.so is not installed in a standard place.

So, I have a sample implementation that I could submit today (modulo
assignment paperwork).  At this point we come to policy issues, what
exactly should it do?

Proposals:

1) Do an exhaustive walkthrough of -L/-l pairs, and add to the end of
   any user-supplied rpath an entry for any directory which resolves a
   shared lib link (this is what the implementation now does).

2) Restrict the auto-rpath generation to only checking against
   system-supplied -L directories (i.e. -L$(exec_prefix)/lib).

3) something else...

Suggestions?  Discussion?

-------------------------------------------------------------------------------
Lee Iverson     		SRI International
leei@ai.sri.com			333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/	(650) 859-3307

^ permalink raw reply	[flat|nested] 28+ messages in thread
[parent not found: <199802212208.RAA06708@subrogation.cygnus.com>]

end of thread, other threads:[~1998-03-05 16:38 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-20 12:26 Auto-rpath revisited Lee Iverson
1998-02-20 16:10 ` Ian Lance Taylor
1998-02-20 19:58   ` Alexandre Oliva
1998-02-21 14:20     ` Ian Lance Taylor
1998-02-21 14:20       ` Alexandre Oliva
1998-02-21 11:35         ` Ian Lance Taylor
1998-02-21 14:20         ` Lee Iverson
1998-02-21 14:20           ` Ian Lance Taylor
1998-02-21 12:35             ` Alexandre Oliva
1998-02-21 14:20               ` H.J. Lu
1998-02-21 14:20             ` Lee Iverson
1998-02-21 12:35               ` Ian Lance Taylor
1998-02-21 16:43               ` Richard Henderson
1998-02-21 17:43                 ` Alexandre Oliva
1998-02-23  6:55                   ` Todd Vierling
1998-02-23 15:57                     ` Lee Iverson
1998-02-23 16:50                       ` H.J. Lu
1998-02-23 17:13                         ` Richard Henderson
1998-02-23 17:17                     ` Marc Espie
1998-02-24 11:32                       ` H.J. Lu
1998-02-21 15:15         ` H.J. Lu
1998-02-27 16:51 ` Jim Wilson
1998-02-28 12:13   ` Alexandre Oliva
1998-02-28 13:22     ` H.J. Lu
1998-03-05 16:38       ` Swen Thuemmler
1998-03-02 20:02     ` Jim Wilson
1998-03-03 18:27       ` H.J. Lu
     [not found] <199802212208.RAA06708@subrogation.cygnus.com>
1998-02-21 17:50 ` Lee Iverson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).