This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wl vs -W1


Andrew <andrew@ugh.net.au> writes:

> 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).

Oh yeah, I managed to forget about that.  -Wl is used to pass options
to the linker.

-W1 still doesn't mean anything, though, as far as I know.

Ian


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