This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: RFC: Alternate names for ELF substitution sequences



On Oct 13, 2009, at 6:41 PM, Daniel Jacobowitz wrote:


I recently had to build GDB with an rpath containing "$ORIGIN" (which
has magic significance to the dynamic loader).  This involved a
ludicrous and unpredictable number of backslashes.

How can we make this easier?  For instance, is there a character or
sequence we are willing to sacrifice from rpaths that isn't so
shell-active?  Perhaps "={": -rpath "={ORIGIN}" -> "${ORIGIN}".

For the record, darwin use '@/' instead of '$ORIGIN/'. Maybe ld can automatically translates
@/ to $ORIGIN.


Tristan.


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