[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alain Frisch <alain@f...> |
| Subject: | Re: [Caml-list] How to use -cclib correctly? |
Andre Tampubolon wrote: > I'm compiling a simple program (Ocaml 3.11.0, MSVC version): > ocamlopt -cclib "/MT /link /SUBSYSTEM:WINDOWS" -o birthday.exe > birthday.ml <http://birthday.ml> Linking against the static C runtime library under Windows is no longer supported in OCaml 3.11. You can try doing it but I cannot guarantee it will work. Basically, -cclib options are passed to flexlink. Instead of /MT, you can try passing the static C runtime library (libcmt.lib ?), and also maybe the -custom-crt option (experimental). Good luck! -- Alain