caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Andre Tampubolon <andre@lc.vlsm.org>
To: caml-list@yquem.inria.fr
Subject: [Caml-list] Self contained Windows executable?
Date: Mon, 19 May 2014 14:42:58 +0700	[thread overview]
Message-ID: <CAOEA5rbTYj=RxRcu9wXWBgX_z94B=jxs9SF0hLQUvZtcrssToQ@mail.gmail.com> (raw)

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

Hello folks,

I just built ocaml on Windows 7 (mingw).
I notice that executables compiled with ocamlc (e.g ocamlc hello.ml -o
hello.exe) won't run on another machine. It says "Cannot exec ocamlrun".

It seems that executables created with ocaml are not "native" executables,
because ocamlrun is still needed. On the other hand, executables compiled
with ocamlopt require Cygwin DLLs.

Is there any workaround?

-- 
*Andre Tampubolon*
GPG public key:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC6492E7D01AA96CF

[-- Attachment #2: Type: text/html, Size: 1181 bytes --]

             reply	other threads:[~2014-05-19  7:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-19  7:42 Andre Tampubolon [this message]
2014-05-19  7:55 ` David Allsopp
2014-05-19  7:56 ` Adrien Nader
     [not found] ` <E51C5B015DBD1348A1D85763337FB6D9E8EEFDA5@Remus.metastack.local>
     [not found]   ` <CAOEA5rZWJ+HfwkCGnLPbwwz7GVHZ6R7_ioZfyabFyNOuNnPhrg@mail.gmail.com>
2014-05-19  9:10     ` David Allsopp
2014-05-19  9:22       ` Jonathan Protzenko
2014-05-19  9:28         ` Adrien Nader

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='CAOEA5rbTYj=RxRcu9wXWBgX_z94B=jxs9SF0hLQUvZtcrssToQ@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;
as well as URLs for NNTP newsgroup(s).