[tree-ssa] Mainline merge plan
Richard Earnshaw
rearnsha@arm.com
Fri Feb 27 11:52:00 GMT 2004
> On Fri, Feb 27, 2004 at 09:50:02AM +0000, Richard Earnshaw wrote:
> > On NetBSD /usr/pkg/lib is the suitable location. GCC really needs to
> > learn how to add the appropriate -rpath option to the link step.
>
> Ug. Personally I think just about any use of -rpath is a mistake.
> If libraries aren't installed where they can be found by ld.so,
> then they aren't installed properly.
Then set the GCC build system up to link libgmp.a statically.
I'm not going to express an opinion as to whether -rpath options are
sensible or not beyond noting that a system that requires all libraries to
be installed in /usr/lib isn't a good idea either. Other than /usr/lib,
NetBSD systems only search for libraries in the places given by RPATH
entries in the image, or in LD_LIBRARY_PATH in the environment.
R.
More information about the Gcc
mailing list