This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to understand gcc source code?


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 ...   |
 +---------------------------------------------------------------------+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]