This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to understand gcc source code?
- From: Abhijat Vichare <amvichare at iitb dot ac dot in>
- To: 梁? <liangkun1983 at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 24 Mar 2008 00:34:15 +0530
- Subject: Re: How to understand gcc source code?
- References: <f895fcfb0803220159x45741e74vd5ee634988de812d@mail.gmail.com>
- Reply-to: amvichare at iitb dot ac dot in
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 ... |
+---------------------------------------------------------------------+