Related articles |
---|
Looking for x86 code-generator for Small-C neptune.poseidon789@gmail.com (Andy Elvey) (2010-09-26) |
Re: Looking for x86 code-generator for Small-C gneuner2@comcast.net (George Neuner) (2010-09-29) |
Re: Looking for x86 code-generator for Small-C FredJScipione@alum.RPI.edu (Fred J. Scipione) (2010-09-29) |
Re: Looking for x86 code-generator for Small-C ArarghMail009@Arargh.com (2010-09-30) |
From: | George Neuner <gneuner2@comcast.net> |
Newsgroups: | comp.compilers |
Date: | Wed, 29 Sep 2010 14:51:54 -0400 |
Organization: | A noiseless patient Spider |
References: | 10-09-025 |
Keywords: | C, code |
Posted-Date: | 29 Sep 2010 23:27:43 EDT |
On Sun, 26 Sep 2010 22:14:27 -0700 (PDT), Andy Elvey
<neptune.poseidon789@gmail.com> wrote:
>Doing a code-generator myself looks out of my league. I can
>understand assembly in "small pieces" (as in a bootloader), but doing
>a code-generator looks like a "very big ask".
Straight forward, unoptimized code generation is not terribly
difficult. Optimized code generation can be extremely difficult.
>So, if anyone knows of an x86 code-gen for Small-C, then I'd love to
>know about it! If it's public-domain, that's even better (my little
I've never seen any x86 generator for Small-C, however TCC is a small
open source (but not PD) C compiler that does have one. TCC is a bit
more complex than Small-C, but it is well written and fairly easy for
a beginner to comprehend. see http://bellard.org/tcc/
George
Return to the
comp.compilers page.
Search the
comp.compilers archives again.