Hello,
cosmocc does not recognize "-v" option (extended version info). Such information could be used during configure of 3rd-party packages (e.g. bdwgc), e.g. to determine threads API, e.g. like this.
Not a bug, but a kind of missing functionality compared to gcc/clang.
Both gcc and clang output such info at least: compiler version, target and thread model, e.g.:
clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
Version
cosmocc (GCC) 14.1.0
What operating system are you seeing the problem on?
Linux
Relevant log output
cosmocc: fatal error: precompiled headers only supported with ARCH-unknown-cosmo-cc compilers compilation terminated.
Contact Details
https://github.com/ivmai/bdwgc/issues/666
What happened?
Hello, cosmocc does not recognize "-v" option (extended version info). Such information could be used during configure of 3rd-party packages (e.g. bdwgc), e.g. to determine threads API, e.g. like this. Not a bug, but a kind of missing functionality compared to gcc/clang.
Both gcc and clang output such info at least: compiler version, target and thread model, e.g.:
Version
cosmocc (GCC) 14.1.0
What operating system are you seeing the problem on?
Linux
Relevant log output