Subject: Re: a.out DOES support `rpath'
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 09/12/1998 18:40:33
On Sat, 12 Sep 1998, Jason Thorpe wrote:

:  > Well, now that some of pkgsrc properly uses the `rpath' feature of ld, I've
:  > found out a neat little hidden feature of a.out platforms -- and if I looked
:  > closely at the Mozilla build process, I'd have seen it.  a.out platforms
:  > _do_ properly support rpath semantics, even under 1.3.x (where the option is
:  > -R to ld).  So, if pkgs are fixed to use rpath, they will work on a.out
:  > without /usr/pkg/lib in /etc/ld.so.conf.  `Neato.'

: Yah, I could have told you that :-)

Then, all this time we were arguing about -R for "only ELF," why didn't you
chime in?  ;)

I see that xsrc does know about it, and it was added in NetBSD 1.2.  Looks
like I should update xpkgwedge.

: Maybe we could make ld's -R also work as --rpath like binutils ld does?

It does, now.  It was added by (Gordon?) in -current as part of the
binutils-compat-option changes.

: (Does binutils ld have -R, too?)

Yes.  That's how we create rpath in pkgsrc.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)