Version française
Home     About     Download     Resources     Contact us    
Browse thread
How to use -cclib correctly?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Andre Tampubolon <andre@l...>
Subject: How to use -cclib correctly?
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 correctly?