aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-09-14 19:41:28 +0200
committerlemon <lsof@mailbox.org>2025-09-14 19:41:28 +0200
commitf4e3e27dd0b56ac39f0f6242d3464df764ab2a61 (patch)
treee04ff68b275a929bb1f677f2c36d6b046acc5dee /README.md
parent6cb4382b0128942f4ba57ab26021be1e5715f2bc (diff)
license and readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
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.