This is the mail archive of the 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: rtl understanding till what level?

On 26-Feb-2002, rashmi kankaria <> wrote:
> hi,
> 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, in particular:

	Using, Maintaining and Enhancing COBOL for the GNU Compiler Collection
	(GCC) by Joachim Nadler and Tim Josling <>. 
	(Especially the chapter on writing a GCC front-end!)

	A Toy Example Language by Jonathan Bartlett <>. 

	Treelang sample language for current snapshot updated by Tim Josling

Fergus Henderson <>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <>  |     -- 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]