Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

lcc backend howto?

75 views
Skip to first unread message

Graham Reitz

unread,
Aug 8, 2009, 4:40:53 PM8/8/09
to
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

unread,
Aug 12, 2009, 12:56:45 AM8/12/09
to

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

unread,
Aug 12, 2009, 9:06:18 PM8/12/09
to
On Aug 12, 12:56 am, Graham Reitz <grahamre...@gmail.com> wrote:
> ...

> 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

0 new messages