blob: c3b552e3532fd8dd0beb0b1cb57177c3e2a802b0 (
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
|
`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
```
./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.
|