How to understand gcc source code?

Abhijat Vichare amvichare@iitb.ac.in
Sun Mar 23 19:21:00 GMT 2008


On Sat, 2008-03-22 at 16:59 +0800, =?GB2312?B?wbqI0g==?= wrote:

> But still, I cannot manage the source code of gcc.
> I don't know how to start reading it.

You can try: http://www.cfdvs.iitb.ac.in/~amv/gcc-int-docs/#gccdocs

> Last night I want to read the code of symbol table used in gcc, I searched in
> google, I greped in the source code. At last, I still have no idea
> where those code is.

AFAIK, GCC does not use conventional symbol table. Information about the
"properties" of a symbol are in nodes of the AST.

HTH,

All the best.

- amv

--
 +---------------------------------------------------------------------+
 | Abhijat M. Vichare       | Email: amvichare@iitb.ac.in              |
 |--------------------------|        amv@cfdvs.iitb.ac.in              |
 | CFDVS, IIT Powai,        | WWW:   http://cfdvs.iitb.ac.in/~amv      |
 | Mumbai 400076, INDIA.    |------------------------------------------|
 |                          | The truest perception of ignorance is at |
 |--------------------------| the summit of knowledge.                 |
 | Phone(Off):(22) 2576 8701|                      Keep climbing ...   |
 +---------------------------------------------------------------------+



More information about the Gcc mailing list