-g and -s

Sam Halliday fommil@yahoo.ie
Thu Oct 24 09:57:00 GMT 2002


hi there,

i noticed that optimisation flags always take the preferenceof the last
one used, so that
gcc -O1 -O2 <file.c>
will produce -O2 optimised code... however, with debugging i dont see
the same... if i use -s and -g on the command line, i find -g always
takes the preference.... is this intentional? could gcc be setup in such
a way that i can choose my preference? or to be 'order specific' liek
the opts are?

thanks in advance!
Sam
-- 
I've Been Moved!



More information about the Gcc-help mailing list