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: A Simple Question


"ÀîÅô" <p-li02@mails.tsinghua.edu.cn> writes:

> Hi,I'm just started reading the source code of gcc and want to ask a
> simple question. Where can I find the definition of the struct
> "tree", is it in the source of gcc or a more common type? Thanks.

Compile your version of gcc by following the directions at
http://gcc.gnu.org/install.  Go into your object directory.  In my
local build, the file obj/gcc/gcc/config.h defines tree:

        typedef union tree_node *tree;

config.h is created at compile time.

-- 
Ricardo Anguiano
http://www.codesourcery.com


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