-Wl vs -W1

Andrew andrew@ugh.net.au
Wed Sep 6 02:11:00 GMT 2006



On Wed, 5 Sep 2006, Ian Lance Taylor wrote:

> Are you sure you are asking about gcc?  To my knowledge gcc does not
> support with a -Wl or a -W1 option.  This is what I see when I try it:

I think you must provide a comma (so the full option is probably 
technically -1, and -l,. The man page lists "-Wl,option". It passes 
arguments through to the linker by some means (I'm using it with 
-W1,-soname,libfoo.so.1).

Thanks,

Andrew



More information about the Gcc-help mailing list