This is the mail archive of the
mailing list for the GCC project.
Re: rtl understanding till what level?
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- To: rashmi kankaria <rashmi_k at email dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 27 Feb 2002 16:30:27 +1100
- Subject: Re: rtl understanding till what level?
- References: <firstname.lastname@example.org>
On 26-Feb-2002, rashmi kankaria <email@example.com> wrote:
> if one is given a task of writing a front end of gcc like the existing frontend for cpp(typically till creation of ast with managing other things ofcourse ..) then how much knowledge of rtl is required?
None. To write a new front-end, you need to understand the gcc "tree" data
structure. Understanding RTL is optional. The front-end won't use RTL
directly at all. (However, some knowledge of RTL can be useful for debugging.)
See gcc.gnu.org/readings.html, in particular:
Using, Maintaining and Enhancing COBOL for the GNU Compiler Collection
(GCC) by Joachim Nadler and Tim Josling <firstname.lastname@example.org>.
(Especially the chapter on writing a GCC front-end!)
A Toy Example Language by Jonathan Bartlett <email@example.com>.
Treelang sample language for current snapshot updated by Tim Josling
Fergus Henderson <firstname.lastname@example.org> | "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.