| 1 | fn main() { |
| 2 | $if tinyc { |
| 3 | println('Your `tcc` is working. Good - it is much faster at compiling C source code.') |
| 4 | exit(0) |
| 5 | } |
| 6 | |
| 7 | $if !macos { |
| 8 | println(' |
| 9 | Note: `tcc` was not used, so unless you install it yourself, your backend |
| 10 | C compiler will be `cc`, which is usually either `clang`, `gcc` or `msvc`. |
| 11 | |
| 12 | These C compilers, are several times slower at compiling C source code, |
| 13 | compared to `tcc`. They do produce more optimised executables, but that |
| 14 | is done at the cost of compilation speed. |
| 15 | ') |
| 16 | } |
| 17 | } |
| 18 | |