This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/2 v5] gold: enable new dtags by default
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Mike Frysinger <vapier at gentoo dot org>, "H.J. Lu" <hjl dot tools at gmail dot com>, Ian Lance Taylor <iant at google dot com>, Binutils <binutils at sourceware dot org>
- Date: Wed, 5 Feb 2014 17:01:32 +0000
- Subject: Re: [PATCH 2/2 v5] gold: enable new dtags by default
- Authentication-results: sourceware.org; auth=none
- References: <1356420600-11507-1-git-send-email-vapier at gentoo dot org> <201302200115 dot 32464 dot vapier at gentoo dot org> <CAMe9rOowjdKTo3L+3W=X6XeQWDKanCaae+Z_sXpRnOj5R5KggA at mail dot gmail dot com> <201302201340 dot 48380 dot vapier at gentoo dot org> <CAHACq4oNM-JyjMXtJJmjfLq3PJG2a7C+t9O=8M=ifOvp+h6L=w at mail dot gmail dot com> <Pine dot LNX dot 4 dot 64 dot 1402050221150 dot 25166 at digraph dot polyomino dot org dot uk> <CAHACq4p3eWUKF=61cESmpMotaXNKDxymz5+207yMrnv+f3+Ccg at mail dot gmail dot com>
On Wed, 5 Feb 2014, Cary Coutant wrote:
> Why is LD_LIBRARY_PATH not the right way to do this? For the same
I don't think there is just one "the right way" to do this; I just think
that supporting this is part of the semantics of -rpath. (But in general,
for some purposes a binary that uses the sysroot libraries without needing
anything special in its environment is better than a binary that will only
work when run with an environment variable set.)
--
Joseph S. Myers
joseph@codesourcery.com