This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Mainline merge plan
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Richard Earnshaw <rearnsha at arm dot com>, law at redhat dot com, Diego Novillo <dnovillo at redhat dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 27 Feb 2004 10:26:28 +0000
- Subject: Re: [tree-ssa] Mainline merge plan
- Organization: ARM Ltd.
- Reply-to: Richard Earnshaw <rearnsha at arm dot com>
> 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.