An experimental C compiler.
If you're using Ubuntu, you can use the commands without x
.
When you want to build Docker env,
docker build . -t ccc
When you want to know what options exist,
make help
When you want to check/format source code,
make lint
When you want to see if the compiler is working,
make test
If you want to debug interactively, use gdb
.
gdb ./ccc
If you want to debug main() { a = 1; b = 2; return 3; }
in gdb
,
r 'main() { a = 1; b = 2; return 3; }'
When you want to remove object files,
make clean
- self host
make self-host