Smaller C Compiler

alexfrunews@gmail.com
Tue, 16 Jun 2015 08:43:18 -0700 (PDT)

          From comp.compilers

Related articles
Smaller C Compiler alexfrunews@gmail.com (2015-06-16)
Re: Smaller C Compiler genew@telus.net (Gene Wirchenko) (2015-06-19)
Re: Smaller C Compiler alexfrunews@gmail.com (2015-06-20)
| List of all articles for this month |

From: alexfrunews@gmail.com
Newsgroups: comp.compilers
Date: Tue, 16 Jun 2015 08:43:18 -0700 (PDT)
Organization: Compilers Central
Keywords: C, available
Posted-Date: 16 Jun 2015 14:31:20 EDT

I haven't made a formal announcement here yet, so making it now.


Smaller C is a simple and small single-pass non-optimizing C
compiler currently supporting most of the C language common
between C89/ANSI C and C99 (minus some C89 and plus some C99
features).


Targeted architectures:
- i80386+
- MIPS
- TR3200 virtual CPU


Hosting and Targeted OSes:
- MS-DOS 4.01+
- Windows XP+/Server 2003+
- Linux Ubuntu 12.04 LTS+
- RetroBSD on PIC32 MIPS microcontrollers in embedded systems


Self-hosing on and Cross-compiling for:
- MS-DOS
- Windows
- Linux


Has a rudimentary preprocessor, but on x86 can invoke gcc for
preprocessing if instructed to. Uses an external preprocessor
on RetroBSD.


Comes with a standard library for x86 and a linker for x86.


Uses an external assembler (NASM for x86) to assemble generated
assembly code.


Can produce 16-bit and 32-bit executables, including "flat" for
x86, which may be handy for custom bootloaders, hobby OSes and
such.


BSD-licensed.


Source, binaries, documentation, links:
https://github.com/alexfru/SmallerC


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.