Re: How to dump all the optimization flags enabled?

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

 



Thanks to all for the kind answers!

On 3/28/07, Ramana Radhakrishnan <ramana.radhakrishnan@xxxxxxxxxxxx> wrote:


On Wed, 2007-03-28 at 21:53 -0400, Wei Hu wrote:
> Hello,
>
> Is there a way to tell gcc to print out all the effective optimization
> flags when it compiles a C file?

-fverbose-asm prints out all the optimization options to the assembler
files. So a combination of --save-temps and -fverbose-asm + some
scripting magic could do the trick for you .

cheers
Ramana
--
cheers
Ramana

Ramana Radhakrishnan
IDE & Tools Group
Celunite Inc (www.celunite.com)




[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