This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
-g and -s
- From: Sam Halliday <fommil at yahoo dot ie>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 24 Oct 2002 17:57:10 +0100
- Subject: -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!