post  gcc -03 , what kind of option it is ?

vac1 (7)   Link to this post
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
renzcoldsun (1)   Link to this post
-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.
vac1 (7)   Link to this post
Sorry miss typo, it should be 0(zero).
Okay, tq for the quick respond
Duoas (2964)   Link to this post
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

This topic is archived - New replies not allowed.