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

sub-architectural options passed to preprocessor, assembler etc. #347

Open
monniaux opened this issue Apr 12, 2020 · 0 comments
Open

sub-architectural options passed to preprocessor, assembler etc. #347

monniaux opened this issue Apr 12, 2020 · 0 comments

Comments

@monniaux
Copy link
Contributor

Certain targets (ARM…) are are available as several sub-targets with different instruction sets. CompCert, when calling gcc as preprocessor, should pass the appropriate -march= option (*). Maybe there should be a configure option for setting that.

Of course one can always edit compcert.ini by hand.

(*) Because headers may test preprocessor flags for the availability of certain features, for instance accessible through inline assembly.

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