Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2009-07-02 (13:57)
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

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?