This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Backend compiler basics?
- To: lehotsky at sunspot dot tiac dot net
- Subject: Re: Backend compiler basics?
- From: Desmond Cheung <dycheung at cs dot sfu dot ca>
- Date: Fri, 9 Jun 2000 14:13:28 -0700 (PDT)
- Cc: gcc at gcc dot gnu dot org
>>I'm sorry if this might not be the right list to post. I'm writing a
>>backend for a cross-compiler (host = sun-solaris-sparc and target =
>>our own machine).
>>
>>I didn't have any experience with any compiler. Is there any
>>resource that I can learn all the basics that I need? I was reading
>>the online Gcc manual and didn't understand "Frame pointer", "Arg
>>pointer", "eliminate frame pointer" ...etc.
>
> You need a good book on compiler construction and runtime organization.
> In the old days, that would have been the "dragon book".
>
>
>>Any reference to websites is appreciated.
>
> http://www.compiler.com/ A lot of good stuff here
Thanks Alan.
Does anyone has experienced a similar situation? Could you
give me an approximation how long it'll take? Just to write
the machine.h, machine.c, and machine.md files.
Thanks all.
Regards,
Desmond Cheung
dycheung@cs.sfu.ca