This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: about writing a new front end for gcc
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: daizi at ustc dot edu
- Cc: "gcc" <gcc at gcc dot gnu dot org>
- Date: Sun, 25 Jan 2004 21:39:22 -0800
- Subject: Re: about writing a new front end for gcc
- References: <eedea1558f12bd08f5d93a9eb13851de@magicmail>
"ÀîÊÀʤ" <daizi@ustc.edu> writes:
> i am just trying to write my own front end for gcc,but i find some
> difficult. as i know,i must finish some interfaces such as the
> lang_hooks structure as the ducuments say. but the other interfaces
> i should finish can not be found in the documents.E.g.: the
> convert() function declared in the tree.h file. i just want to know
> where can i find the documents of all the interfaces i should finish
> in my front end.
I regret to say there is no complete documentation. You will need to
read the source code and look at what other front ends do.
You are welcome to help us improve the GCC internals manual, but note
that it is distributed under a license which many people consider to
grant insufficient freedom. See
<http://home.twcny.rr.com/nerode/neroden/fdl.html>.
zw