blob: 895dd15cbe17d76de5cabad29202fa7e7b19d161 (
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
|
`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.
|