This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Mainline merge plan


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]