Commit Graph

14 Commits

Author SHA1 Message Date
Rui Ueyama 558cabf3fe Add thread-local variable 2020-09-22 18:34:00 +09:00
Rui Ueyama e5fc230a19 Turn on -Wall compiler flag and fix compiler warnings 2020-09-22 18:34:00 +09:00
Rui Ueyama 74c0aecca6 Self-host: including preprocessor, chibicc can compile itself 2020-09-22 18:34:00 +09:00
Rui Ueyama 84e846ef4f Add stdarg.h, stdbool.h, stddef.h, stdalign.h and float.h 2020-09-22 18:34:00 +09:00
Rui Ueyama faefe790c1 Add -I<dir> option 2020-09-22 18:34:00 +09:00
Rui Ueyama 0514ff2f7f Use chibicc's preprocessor for all tests 2020-09-22 18:34:00 +09:00
Rui Ueyama 88305ee5fc Add the null directive 2020-09-22 18:34:00 +09:00
Rui Ueyama f51e65a01c Run "ld" unless -c is given 2020-09-22 18:34:00 +09:00
Rui Ueyama af5e8a98a6 Run "as" command unless -S is given 2020-09-22 18:34:00 +09:00
Rui Ueyama 5fb12d8bfe Add stage2 build 2020-09-22 18:34:00 +09:00
Rui Ueyama bc0c468a42 Rewrite tests in shell script in C 2020-09-13 21:36:53 +09:00
Rui Ueyama 99a8fa397a Add -o and --help options 2020-09-13 21:36:37 +09:00
Rui Ueyama b33b91b5e0 Split main.c into multiple small files 2020-09-13 21:36:37 +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