This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld option for setting runtime libpath for AIX
- To: Ian Lance Taylor <ian at airs dot com>
- Subject: Re: ld option for setting runtime libpath for AIX
- From: Kevin Heatwole <kdh at ocsystems dot com>
- Date: Thu, 25 Oct 2001 18:32:23 -0400
- Cc: binutils at sources dot redhat dot com
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