Re: -Wl vs -W1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew <andrew@xxxxxxxxxx> writes:

> I was wondering if anyone could point me to some docs explaining what
> -W1 does, esp how it differs from -Wl. I've just been suprised to find
> an argument I thought should be -Wl only works when it is -W1 but I
> can't find any documentation on -W1 so I don't really know what it is
> doing. Googling turns up tutorials where -Wl is claimed to be the
> correct option but then in the exmaples they use -W1.

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:

> gcc -W1 -c hello.c
cc1: error: unrecognized command line option "-W1"
> gcc -Wl -c hello.c
cc1: error: unrecognized command line option "-Wl"

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux