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 #6247

Closed
vicuna opened this issue Oct 14, 2002 · 1 comment
Closed

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

vicuna opened this issue Oct 14, 2002 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 14, 2002

Original bug ID: 1436
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.

I guess an alternate fix is to change the docs on --clib, but that's
lame since the real fix is easy.

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.

@vicuna
Copy link
Author

vicuna commented Oct 15, 2002

Comment author: administrator

Duplicate of #5970

@vicuna vicuna closed this as completed Oct 15, 2002
@vicuna vicuna added the bug label Mar 19, 2019
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