This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Building GENERIC trees cont.
Quoting Paul Brook <paul@codesourcery.com>:
> > I'm still playing with BCPL and still struggling with the building of
> > GENERIC trees and the GCC integration.
> >
> > Currently, I'm having trouble with a whole load of spurious errors when I
> > include the headers "tree.h", "config.h" and "system.h" in my (Bison
> > generated) parser. I get hundreds of errors and warning in (mainly)
> tree.h,
> > input.h and machmode.h about parse errors and ISO C conflicts. Have I
> > included the correct headers, or are more required? I've had a look at
> > c-common.c, but I was not sure if I needed to include the same headers.
>
> You missed out coretypes.h.
> You probably need to include them in the correct order. Specifically: config,
> system, coretypes, tree.
I've just checked out the tree-ssa-20020619-branch from CVS to make sure I've
got a clean workspace. If a create a subdirectory <src>/gcc/bcpl and work from
there, would I need to build gcc before I can start using the tree building
functions?
Thanks,
Tom