This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Default flags with -O2
- From: Anticipating a Reply <ruxyz at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 30 Jul 2003 13:57:05 +0100 (BST)
- Subject: Default flags with -O2
- Reply-to: ruxyz at yahoo dot com
Hi ,
Is it possible to find out what are
the compilation flags used in run-time
when compiling with the -O2 option ?
I tried with the option -v , but it
does not show me the flags enabled by DEFAULT .
I don't think you can do this by using
objdump / readelf on the executable either .
I would like to know all the default
flags used with -On n=1,2,3 optimizations .
Any help would be appreciated .
Regards !
________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/