-
Notifications
You must be signed in to change notification settings - Fork 225
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
-version-file option; detailed -version information #386
Labels
Comments
Well spotted, thank you. Commit 1a52f58 updates the help message. Concerning printing the configuration, I'm still undecided, so I'll leave this issue open. |
Related to #362. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Invoking
clightgen --help
describes an option-version-file
but invokingclightgen -version-file foo
saysccomp: error: Unknown option -version-file
(in CompCert 3.8).I am not advocating for restoring this option, I suggest removing it from the help message.
Also, it would be helpful if either the -version option or some other option could make clightgen and ccomp say more about their configuration, i.e., target architecture. This is useful when a cross-compiler is installed. Of course, one can always obtain this by doing
clightgen empty.c
and then examining the beginning ofempty.v
.The text was updated successfully, but these errors were encountered: