diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..895dd15 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +`antcc` is a C compiler using its own custom backend. Currently still in a +experimental stage. + +# Supported targets + +- For now just x86-64 POSIX (Sys-V + ELF). Only tested on linux so far. + +# Building + +``` +make # outputs ./antcc executable +# or +make opt #compile with optimizations +# or +make dbg #compile with UBsan and Asan +``` + + +# Usage + +The driver is still incomplete but it mimics that of compilers like gcc. +`antcc` compiles translation units to object files directly, but the driver +will invoke an external linker command to output an executable if `-c` isn't passed. |