From: "Christoph Bauer" <christoph.bauer@lmsintl.com>
To: "Andre Tampubolon" <andre@lc.vlsm.org>, <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] How to use -cclib correctly?
Date: Thu, 2 Jul 2009 16:08:09 +0200 [thread overview]
Message-ID: <BB046CA812535C45BD0029AA9D04BA7906607817@KL-SRV57.lmsintl.com> (raw)
In-Reply-To: <1c0c59270907020657ka767cdcy5f5db1a413838f96@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 799 bytes --]
I think the error message is from flexlink. So try
ocamlopt -cclib -link -cclib "/MT /link /SUBSYSTEM:WINDOWS" -o
birthday.exe birthday.ml <http://birthday.ml/>
Christoph Bauer
________________________________
From: caml-list-bounces@yquem.inria.fr
[mailto:caml-list-bounces@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):
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?
[-- Attachment #2: Type: text/html, Size: 1631 bytes --]
next prev parent reply other threads:[~2009-07-02 14:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-02 13:57 Andre Tampubolon
2009-07-02 14:08 ` Christoph Bauer [this message]
2009-07-02 14:14 ` [Caml-list] " Alain Frisch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BB046CA812535C45BD0029AA9D04BA7906607817@KL-SRV57.lmsintl.com \
--to=christoph.bauer@lmsintl.com \
--cc=andre@lc.vlsm.org \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox