ld option for setting runtime libpath for AIX

Ian Lance Taylor ian@airs.com
Thu Oct 25 15:16:00 GMT 2001


Kevin Heatwole <kdh@ocsystems.com> writes:

> I'm looking for the equivalent AIX ld to option
> -blibpath:/lib:/usr/lib for GNU ld for AIX.  Specifically, I want to
> override the default LIBPATH stored in executables to just look in the
> directories "/lib:/usr/lib".

I think -rpath will work, just as it does for ELF.

Ian



More information about the Binutils mailing list