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]

Default flags with -O2


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/


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