GCC default options

Darth_Bane keepitsimple222@yahoo.com
Wed May 26 22:54:00 GMT 2010



Ian Lance Taylor-3 wrote:
> 
> Darth_Bane <keepitsimple222@yahoo.com> writes:
> 
>> What are the default options (flags) for the gcc/g++ compiler. I know you
>> can
>> drill down into the documentation to find the defaults (i.e. -O0 is the
>> default) but it takes forever.
>>
>> Is there an easy way to  find out this information for a given version?
> 
> You can get one answer by running gcc --save-temps -fverbose-asm and
> looking at the generated .s file.
> 
> Ian
> 
> 

Thanks, 

that helps

-DB

-- 
View this message in context: http://old.nabble.com/GCC-default-options-tp28682743p28687422.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list