[Caml-list] How to use -cclib correctly?

2009-07-02 Thread Andre Tampubolon
I'm compiling a simple program (Ocaml 3.11.0, MSVC version): ocamlopt -cclib "/MT /link /SUBSYSTEM:WINDOWS" -o birthday.exe birthday.ml The output is: ** Fatal error: Cannot find file "/MT" File "caml_startup", line 1, characters 0-1: Error: Error during linking How to use the -cclib option corre

RE: [Caml-list] How to use -cclib correctly?

2009-07-02 Thread Christoph Bauer
o:caml-list-boun...@yquem.inria.fr] On Behalf Of Andre Tampubolon Sent: Thursday, July 02, 2009 3:57 PM To: caml-list@yquem.inria.fr Subject: [Caml-list] How to use -cclib correctly? I'm compiling a simple program (Ocaml 3.11.0, MSVC version): ocaml

Re: [Caml-list] How to use -cclib correctly?

2009-07-02 Thread Alain Frisch
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 Linking against the static C runtime library under Windows is no longer supported in OCaml 3.11. You can try doi