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

-cclib & native compiler minor bug/change on msvc builds #5970

Closed
vicuna opened this issue Oct 14, 2002 · 0 comments
Closed

-cclib & native compiler minor bug/change on msvc builds #5970

vicuna opened this issue Oct 14, 2002 · 0 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 14, 2002

Original bug ID: 1435
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

The -cclib option on 3.06 is passed to the compiler, not the linker.
I'm not sure exactly when this changed because I went from 3.01 to
3.06.

Suggested fix: If you still want to use cl to link the final
exectuable (which is fine), add "/link" to the command line before
adding the cclib strings in asmlink.ml. The problem is it has to be
absolutely last because msvc just passes the rest of the command line
to link.exe, I believe.

The temporary workaround is for users to add "/link" in front of their
-cclib strings.

Chris

PS. Relatively Minor: www.ocaml.org has not been updated with the news since
4/02...it'd be good if the updates to caml.inria.fr were automagically
reflected up to www.ocaml.org

PPS. Really Minor: ocaml.org (no www.) goes to "Virtual Building 8"
at INRIA. :) It should probably go to the same page as www.ocaml.org.

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

No branches or pull requests

1 participant