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

CompCert command line parsing vs. gcc #14

Closed
didickman opened this issue Jan 2, 2015 · 1 comment
Closed

CompCert command line parsing vs. gcc #14

didickman opened this issue Jan 2, 2015 · 1 comment

Comments

@didickman
Copy link
Contributor

The following command line fails:

$ ccomp -Wl,shared -o libwhatever.so.1.1 X.so Y.so
Unknown argument `X.so'

Renaming *.so to *.o works fine:

$ ccomp -Wl,shared -o libwhatever.so.1.1 X.o Y.o
$

gcc works with both cases.

@xavierleroy
Copy link
Contributor

Tentative fix in commit [master 334be23]: .so arguments are passed to the linker just like .o arguments. It could be that GCC passes all unrecognized arguments to the linker, but I'm afraid to implement the same behavior in CompCert by fear of getting really mysterious error messages.

bschommer pushed a commit that referenced this issue Jul 5, 2017
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