public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Backend compiler basics?
@ 2000-06-09 14:13 Desmond Cheung
  0 siblings, 0 replies; 4+ messages in thread
From: Desmond Cheung @ 2000-06-09 14:13 UTC (permalink / raw)
  To: lehotsky; +Cc: gcc

>>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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Backend compiler basics?
@ 2000-06-09 16:11 Mike Stump
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Stump @ 2000-06-09 16:11 UTC (permalink / raw)
  To: dycheung, lehotsky; +Cc: gcc

> From: Desmond Cheung <dycheung@cs.sfu.ca>
> Date: Fri, 9 Jun 2000 14:13:28 -0700 (PDT)

> Does anyone has experienced a similar situation?

Sure.

> Could you give me an approximation how long it'll take?

Sure.

> Just to write the machine.h, machine.c, and machine.md files.

My datapoint: 30 days to write them after you know the basics.  And
about 8 years to learn the basics.  YMMV.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Backend compiler basics?
  2000-06-09 13:12 Desmond Cheung
@ 2000-06-09 14:04 ` Alan Lehotsky
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Lehotsky @ 2000-06-09 14:04 UTC (permalink / raw)
  To: Desmond Cheung; +Cc: gcc

At 1:12 PM -0700 6/9/00, Desmond Cheung wrote:
>Hi all,
>
>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
-- 
------------------------------------------------------------------------

		    Quality Software Management
		http://www.tiac.net/users/qsmgmt
			apl@alum.mit.edu
			(978)287-0435 Voice
			(978)808-6836 Cell
			(978)287-0436 Fax

	Software Process Improvement and Management Consulting
	     Language Design and Compiler Implementation

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Backend compiler basics?
@ 2000-06-09 13:12 Desmond Cheung
  2000-06-09 14:04 ` Alan Lehotsky
  0 siblings, 1 reply; 4+ messages in thread
From: Desmond Cheung @ 2000-06-09 13:12 UTC (permalink / raw)
  To: gcc

Hi all,

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.

Any reference to websites is appreciated.

Thanks in advance.

Regards,
Desmond Cheung
dycheung@cs.sfu.ca

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-06-09 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-09 14:13 Backend compiler basics? Desmond Cheung
  -- strict thread matches above, loose matches on Subject: below --
2000-06-09 16:11 Mike Stump
2000-06-09 13:12 Desmond Cheung
2000-06-09 14:04 ` Alan Lehotsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).