Main Page | Report this Page
Computers Forum Index  »  Computer Compilers - LCC  »  lcc backend howto?...
Page 1 of 1    

lcc backend howto?...

Author Message
Graham Reitz...
Posted: Sat Aug 08, 2009 8:40 pm
Guest
Does the recommended book "A Retargetable Compiler for C..." provide
up to date information if you are interested in creating a backend?

Is the technical report, "The lcc 4.x Code-Generation Interface", what
I should be digging into (in addition to the code, of course)?

Also, if there is other reading materials or tutorials available
please point me in the right direction.

So far I can build lcc 4.2 from source and get it to generate asm code
for the provided targets.

Kindly,
graham
 
Graham Reitz...
Posted: Wed Aug 12, 2009 4:56 am
Guest
On Aug 8, 3:40 pm, Graham Reitz <grahamre... at (no spam) gmail.com> wrote:
Quote:
Does the recommended book "A Retargetable Compiler for C..." provide
up to date information if you are interested in creating a backend?

Is the technical report, "The lcc 4.x Code-Generation Interface", what
I should be digging into (in addition to the code, of course)?

Also, if there is other reading materials or tutorials available
please point me in the right direction.

So far I can build lcc 4.2 from source and get it to generate asm code
for the provided targets.

Kindly,
graham

The technical report provides reasonable information if you already
know the compiler internals. I've read through it several times. The
next step seems to be to work through the existing back-ends.
 
toby...
Posted: Thu Aug 13, 2009 1:06 am
Guest
On Aug 12, 12:56 am, Graham Reitz <grahamre... at (no spam) gmail.com> wrote:
Quote:
...
The technical report provides reasonable information if you already
know the compiler internals.  I've read through it several times.  The
next step seems to be to work through the existing back-ends.

You might find my walkthrough here helpful... or not:
http://telegraphics.com.au/sw/info/lcc-pdp11.html
 
 
Page 1 of 1    
All times are GMT
The time now is Sat Dec 05, 2009 12:08 pm