Subject: a.out DOES support `rpath'
To: None <tech-toolchain@netbsd.org>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 09/12/1998 18:09:51
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.'
I imagine this could be fixed in the imake stuff for X, as well. I'll look
into doing that.
Now, not that this says that "ld.so.conf is a good idea to add for backwards
compatibility in ELF," it does rather shoot a hole in the main counter
argument that ld.so.conf is the "hack that exists because a.out has no
rpath." :-)
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)