%% David Gibbs <firstname.lastname@example.org> writes:
dg> email@example.com wrote:
following other people’s suggestions, I am trying to replace
gcc with qcc, g++ with QCC, while trying other open source projects.
Sometimes, I get those warnings:
cc: badly formed -W option, ignoring
dg> For cc & qcc, -W is the pass-through command, allowing you to pass
dg> an option through to one of the underlying phases of the compilation.
dg> -Wl,-s says to pass -s through to the linker phase.
dg> What did the -W option do under gcc?
-W turns on an extra set of warnings; different than -Wall.
Frank, you want to use qcc’s -Wc option to send the -W to the compiler,
I had to do something similar since qcc doesn’t support gcc’s -m* suite
of options; I needed this for my PPC compiles:
Paul D. Smith <firstname.lastname@example.org> HASMAT–HA Software Mthds & Tools
“Please remain calm…I may be mad, but I am a professional.” --Mad Scientist
These are my opinions—Nortel Networks takes no responsibility for them.