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

OPAM CompCert does not have Makefile.config #433

Closed
andrew-appel opened this issue Jun 26, 2020 · 2 comments
Closed

OPAM CompCert does not have Makefile.config #433

andrew-appel opened this issue Jun 26, 2020 · 2 comments

Comments

@andrew-appel
Copy link
Collaborator

When used with an external CompCert, VST configures itself by looking at CompCert's Makefile.config to learn the target architecture and BITSIZE. But when CompCert has been installed with Opam, there is no Makefile.config present. Thus, VST does not build properly.

Thanks to @ybertot for reporting this.

@MSoegtropIMC
Copy link
Collaborator

This should be fixed by #406.

@MSoegtropIMC
Copy link
Collaborator

To further clarify this:

an installed CompCert provides a file called compcert.config which contains equivalent information to Makefile.config but is specifically intended for use by Coq makefiles, while Makefile.config was more a CompCert internal file.

This is supported by the coq-compcert.3.7~coq-platform series of packages and will also be supported by the main (non platform) compcert.3.8 package. VST should anyway use the coq-platform variants of CompCert, which use the platform supplied Flocq.

The new Makefile uses compcert.config, so I would consider this as fixed.

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

No branches or pull requests

2 participants