Re: how does cc1plus work internally

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

 



Yu Yang wrote:

> /usr/local/libexec/gcc/i686-pc-linux-gnu/4.1.1/cc1plus test.i.cc.
> At the end, cc1plush will print out some statistical info as the end of this
> email shows.  Beside the source code, Is there any documentation around
> that describe these stages?  The gcc internals does not talk much about this.

You don't have to run cc1plus to get this, you can supply -ftime-report
when compiling as normal.  There are many other debug dump options to
see what the compiler is doing internally -- see section 3.9 of the
manual.

The -ftime-report output tells you how much time was spent in each
pass.  Passes are documented in section 8 of the internals manual.

Brian

[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