Re: GCC default options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Darth_Bane <keepitsimple222@xxxxxxxxx> 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux