This is the mail archive of the
mailing list for the GCC project.
Re: GCC backend for dummy ?
- To: pierre at lineo dot com
- Subject: Re: GCC backend for dummy ?
- From: Martin Kahlert <martin dot kahlert at infineon dot com>
- Date: Thu, 8 Nov 2001 10:35:37 +0100
- Cc: gcc at gcc dot gnu dot org
- References: <3BEA41BE.3C75EB9A@lineo.com>
- Reply-To: martin dot kahlert at infineon dot com
On Thu, Nov 08, 2001 at 12:26:38AM -0800, email@example.com wrote:
> I have a pet project that involves a simplistic
> processor design and an even simpler virtual
> machine that uses this processor. As of today,
> I have a working model of the machine and a
> little assembler that I can use to make test
> programs with.
As noted in the other answer to you, gcc might be too complex for your task.
Perhaps lcc is better suited for your needs.
Try http://www.cs.princeton.edu/software/lcc/ for the homepage and
for the real thing (autoconf'ed build process).
There is a whole book describing each single bit in the compiler
(unfortunately an older version of it, but there is a document describing the
changes on both of the websites iirc).
lcc does not contain optimizations, though.
Hope that helps you a bit,
The early bird catches the worm. If you want something else for
breakfast, get up later.