Anonymous user
Smaller C: Difference between revisions
Jump to navigation
Jump to search
m
Mentioned Mac OS X
[unchecked revision] | [unchecked revision] |
No edit summary |
m (Mentioned Mac OS X) |
||
Line 1:
Smaller C is a simple and small single-pass C compiler, currently supporting most of the C language common between C89/ANSI C and C99 (minus some C89 and plus some C99 features).
The compiler self-hosts on DOS, Windows, Linux and
With some work you may even be able to run Smaller C in your OS (e.g. you need to port [[NASM]]/[[YASM]] or [[FASM]] (FASM is probably easier) to your OS and make appropriate changes in the Smaller C standard library to use your OS system calls instead of those for DOS, Windows
The core compiler comes with a preprocessor, a linker and a compiler driver (the driver invokes the preproccessor, the core compiler, the assembler, and the linker and supports options similar to those of [[GCC]]). The linker ([[smlrl]]) can produce the following executable formats: [[COM]], [[MZ]], [[PE]], [[ELF]], [[MACH-O]], [[A.out]] and flat executables. Btw, [[COM]] and [[MZ]] may be booted directly with [[BootProg]].
|