This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: ld option for setting runtime libpath for AIX


Man am I embarrassed...  -rpath does indeed work as I want.

When I read the man text for ld and saw that it was an ELF thing for 
OS's like Solaris and Linux, I didn't think it applied to AIX XCOFF.

Thanks for the help.  I'm all set.

Kevin

On Thursday, October 25, 2001, at 06:16  PM, Ian Lance Taylor wrote:

> 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


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