[RFA] Make LIB_PATH configurable

Ian Lance Taylor ian@zembu.com
Wed Apr 25 23:31:00 GMT 2001


Christopher Faylor <cgf@redhat.com> writes:

> I did set NATIVE_LIB_DIRS in ld/configure.host:
> 
>         * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
> 
> It doesn't seem to affect a cross-built ld.  I just tried this again to
> make sure.  Just setting NATIVE_LIB_DIRS only seems to affect the
> behavior when creating an ld where host == target.

Well, that's true.  NATIVE_LIB_DIRS only works for a native
configuration.

I don't understand why you need to do this in a cross-configuration.
In a cross-configuration you're in complete control of where the
libraries are installed.  Why not install all the libraries in the lib
directory?

It seems a bit odd to do this through a configuration option.  Where
are you going to set that option?  (Maybe that was in your original
patch, which I didn't examine).

But I don't object to your patch.

Ian



More information about the Binutils mailing list