gcc -03 , what kind of option it is ?

Sep 24, 2008 at 4:33am
Dear all,
I had to use this option in gcc to compile, because i follow someone's program.
But i dont have any idea, What this option is used for ?, i have tried 'man gcc' and google it around net, but seem no luck for me.
I appreciate any help from you
Thanks
Sep 24, 2008 at 4:36am
-O (not minus zero) option gives you code optimization level. In your case, gcc is set to optimize at level 3. Mostly, optimization levels of 2 is enough.
Sep 24, 2008 at 9:44am
Sorry miss typo, it should be 0(zero).
Okay, tq for the quick respond
Sep 24, 2008 at 3:42pm
http://gcc.gnu.org/onlinedocs/gcc/Invoking-GCC.html

GCC does not have a -03 option. It does have a -O3 option --which is for optimization level.

Hope this helps.
Last edited on Sep 24, 2008 at 3:42pm
Topic archived. No new replies allowed.