2022-01-18 18:25:11 +03:00
|
|
|
fn main() {
|
|
|
|
$if tinyc {
|
|
|
|
println('Your `tcc` is working. Good - it is much faster at compiling C source code.')
|
|
|
|
exit(0)
|
|
|
|
}
|
|
|
|
|
2022-05-08 08:01:55 +03:00
|
|
|
$if !macos {
|
|
|
|
println('
|
2022-03-06 20:01:22 +03:00
|
|
|
Note: `tcc` was not used, so unless you install it yourself, your backend
|
2022-01-18 18:25:11 +03:00
|
|
|
C compiler will be `cc`, which is usually either `clang`, `gcc` or `msvc`.
|
|
|
|
|
|
|
|
These C compilers, are several times slower at compiling C source code,
|
|
|
|
compared to `tcc`. They do produce more optimised executables, but that
|
|
|
|
is done at the cost of compilation speed.
|
|
|
|
')
|
2022-05-08 08:01:55 +03:00
|
|
|
}
|
2022-01-18 18:25:11 +03:00
|
|
|
}
|