documentation clarification

Ian Lance Taylor ian@airs.com
Thu Nov 1 15:55:00 GMT 2001


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



More information about the Binutils mailing list