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: documentation clarification


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


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