mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
17 lines
498 B
V
17 lines
498 B
V
fn main() {
|
|
$if tinyc {
|
|
println('Your `tcc` is working. Good - it is much faster at compiling C source code.')
|
|
exit(0)
|
|
}
|
|
|
|
$if !macos {
|
|
println('
|
|
Note: `tcc` was not used, so unless you install it yourself, your backend
|
|
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.
|
|
')
|
|
}
|
|
}
|