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]

Re: Newbie to creating front ends to gcc


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.


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