This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Newbie to creating front ends to gcc
- To: David Henningsson <a at davidh dot df dot lth dot se>
- Subject: Re: Newbie to creating front ends to gcc
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Mon, 16 Jul 2001 20:40:39 +1000
- Cc: gcc at gcc dot gnu dot org
- References: <3B520986.301D65D7@davidh.df.lth.se>
On 15-Jul-2001, David Henningsson <a@davidh.df.lth.se> wrote:
> Right now I'm trying to understand that tree code.
>
> I think I need a simple example of how to create a tree.
See <http://gcc.gnu.org/readings.html>,
in particular "Example and Toy compilers for current snapshot".
See also the "Writing a Compiler Front End" chapter of
"Using, Maintaining and Enhancing COBOL for the GNU Compiler
Collection (GCC)".
> I'm running GCC 2.95.3 at the moment as that is what goes with DJGPP.
That is quite out-of-date with respect to current sources, unfortunately.
To save yourself effort, I'd strongly recommend using GCC 3.0 or a recent
development snapshot.
If you're stuck with using Windows, that may make things a little more
difficult. I don't know whether 3.0 or recent development snapshots
work with DJGPP, but I think they probably do work with Cygwin.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.