RFC: Alternate names for ELF substitution sequences
Tristan Gingold
gingold@adacore.com
Wed Oct 14 07:49:00 GMT 2009
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.
More information about the Binutils
mailing list