Skip to content

JamesLinus/mcc

Repository files navigation

Copyright (C) 2015 Guiyang Huang
See the COPYING file for license conditions.

mcc - a standard C compiler

_NOT_ finished yet.

The compiler is designed to be able to compile itself, so it is written in C. And it refuses to use any gnu extension, _ONLY_ pure standard syntax. It is intended to support all C99 language features while keeping the code as simple and small as possible.

To build the mcc compiler, run command:

	make

To run the testing suite, run command:

	make test


Source Roadmap:

include		headers files provided by this compiler.

sys		system relative utilities.

utils		common utilities.

test		test suite.


For Mac OS X users:

Nowadays OS X is shipped with Apple's C library headers, which does _NOT_ support a standard compiler.


Reference:

1. C99 Standard Draft: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf

2. C: A Reference Manual: http://careferencemanual.com

3. X86-64 ABI: http://www.x86-64.org/documentation/

4. DWARF Standard: http://dwarfstd.org/

5. 《Compilers: Principles, Techniques, and Tools》: http://dragonbook.stanford.edu/

About

A standard C compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published