Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: unsupported -v option by cosmocc #1316

Open
ivmai opened this issue Oct 15, 2024 · 0 comments
Open

Bug: unsupported -v option by cosmocc #1316

ivmai opened this issue Oct 15, 2024 · 0 comments
Labels
low severity Used to report low severity bugs (e.g. cosmetic issues, non critical UI glitches)

Comments

@ivmai
Copy link

ivmai commented Oct 15, 2024

Contact Details

ivmai/bdwgc#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.:

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.
@ivmai ivmai added the low severity Used to report low severity bugs (e.g. cosmetic issues, non critical UI glitches) label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low severity Used to report low severity bugs (e.g. cosmetic issues, non critical UI glitches)
Projects
None yet
Development

No branches or pull requests

1 participant