Commit Graph

12 Commits

Author SHA1 Message Date
Rui Ueyama 12a9e7506c Self-host: including preprocessor, chibicc can compile itself 2020-12-07 12:00:06 +09:00
Rui Ueyama 7cbfd111d3 Add stdarg.h, stdbool.h, stddef.h, stdalign.h and float.h 2020-12-07 12:00:06 +09:00
Rui Ueyama a1dd6213c8 Add -I<dir> option 2020-12-07 12:00:06 +09:00
Rui Ueyama 769b5a0941 Use chibicc's preprocessor for all tests 2020-12-07 12:00:06 +09:00
Rui Ueyama 146c7b3dd4 Add the null directive 2020-12-07 12:00:06 +09:00
Rui Ueyama 8b726b5489 Run "ld" unless -c is given 2020-12-07 12:00:06 +09:00
Rui Ueyama 140b43358c Run "as" command unless -S is given 2020-12-07 12:00:06 +09:00
Rui Ueyama 5d15431df1 Add stage2 build 2020-12-07 12:00:06 +09:00
Rui Ueyama cd832a311e Rewrite tests in shell script in C 2020-10-15 14:22:15 +09:00
Rui Ueyama a0388bada4 Add -o and --help options 2020-10-08 16:23:53 +09:00
Rui Ueyama 725badfb49 Split main.c into multiple small files 2020-10-07 20:11:16 +09:00
Rui Ueyama 0522e2d77e Compile an integer to an exectuable that exits with the given number 2020-09-13 21:36:28 +09:00