This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: documentation clarification
- To: Matthew Bettencourt <matt at mail dot ssc dot usm dot edu>
- Subject: Re: documentation clarification
- From: Ian Lance Taylor <ian at airs dot com>
- Date: 12 Nov 2001 11:38:55 -0800
- Cc: binutils at sources dot redhat dot com
- References: <3BF00EE7.807FDA9@mail.ssc.usm.edu>
Matthew Bettencourt <matt@mail.ssc.usm.edu> writes:
> However, if I compile using
> g++ ... -Wl,"rpath /home/matt/lib"
I don't see how that could work at all.
However, this should work:
g++ ... -Wl,-rpath,/home/matt/lib
I believe the linker documentation is correct. You are not using -Wl
correctly. See the documentation for -Wl.
Ian