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]

-g and -s


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!


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