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

-version-file option; detailed -version information #386

Open
andrew-appel opened this issue Jan 30, 2021 · 2 comments
Open

-version-file option; detailed -version information #386

andrew-appel opened this issue Jan 30, 2021 · 2 comments

Comments

@andrew-appel
Copy link

Invoking clightgen --help describes an option -version-file but invoking clightgen -version-file foo says ccomp: 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 of empty.v.

xavierleroy added a commit that referenced this issue Apr 23, 2021
The `-version-file` option was removed in commit 600803c, but remained
in the option summary, as reported in #386.
@xavierleroy
Copy link
Contributor

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.

@xavierleroy
Copy link
Contributor

Related to #362.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants