Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Andre Tampubolon <andre@lc.vlsm.org>
To: caml-list@yquem.inria.fr
Subject: How to use -cclib correctly?
Date: Thu, 2 Jul 2009 20:57:10 +0700	[thread overview]
Message-ID: <1c0c59270907020657ka767cdcy5f5db1a413838f96@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

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: 403 bytes --]

             reply	other threads:[~2009-07-02 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-02 13:57 Andre Tampubolon [this message]
2009-07-02 14:08 ` [Caml-list] " Christoph Bauer
2009-07-02 14:14 ` 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=1c0c59270907020657ka767cdcy5f5db1a413838f96@mail.gmail.com \
    --to=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