aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
blob: 6d463c12cc3658254a108cc7d28139406e665481 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
`antcc` is a C compiler using its own custom backend. Currently still in a
experimental stage.

Report bugs in the [issue tracker](https://codeberg.org/lsof/antcc/issues), or
by sending me an email.

# Supported targets

- For now just x86-64 POSIX (Sys-V + ELF). Only tested on linux so far.

# Building

```
./configure

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.