From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id B1F187ED9B for ; Mon, 19 May 2014 09:43:02 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of andre@lc.vlsm.org) identity=pra; client-ip=209.85.214.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="andre@lc.vlsm.org"; x-sender="andre@lc.vlsm.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of andre@lc.vlsm.org designates 209.85.214.172 as permitted sender) identity=mailfrom; client-ip=209.85.214.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="andre@lc.vlsm.org"; x-sender="andre@lc.vlsm.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ob0-f172.google.com) identity=helo; client-ip=209.85.214.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="andre@lc.vlsm.org"; x-sender="postmaster@mail-ob0-f172.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjoCAJS1eVPRVdaslGdsb2JhbABZg1dYgmmpUgGOSIoGCBYOAQEBAQcLCwkSKoJPdQEGNwIkEgEFAQ4BiGcNnX6DEYwRpDGMV4IWgl+BSwSKE49HgT2Lc4N5GCmEczE X-IPAS-Result: AjoCAJS1eVPRVdaslGdsb2JhbABZg1dYgmmpUgGOSIoGCBYOAQEBAQcLCwkSKoJPdQEGNwIkEgEFAQ4BiGcNnX6DEYwRpDGMV4IWgl+BSwSKE49HgT2Lc4N5GCmEczE X-IronPort-AV: E=Sophos;i="4.98,865,1392159600"; d="scan'208";a="62529389" Received: from mail-ob0-f172.google.com ([209.85.214.172]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 19 May 2014 09:43:01 +0200 Received: by mail-ob0-f172.google.com with SMTP id wp18so5715420obc.17 for ; Mon, 19 May 2014 00:42:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=82AoCQx8fTNxAK2Sd6RHsy/76kG+NoLixa8aquQHhfg=; b=b3lqG9HMOueGSdVr+JYILbeUL86mWODTyn/UjdNqDRZDN6yYQPD6h/cgpLwcYvDiuv sBEAXDi66+1fTk929+veeX56BnyVdLlAJxnkMODQJjsXxQ/U0LDB20Aeuy27LSPaTVdI FxFCITUQLuB8vYl2uJ3meLjPW0GXozgbNf2NgJqiDz6vpJ8QkIINUGOcfWRZqJX8BQq9 TwgpYXZsZutzcm4vl4DPCfKFHew+UzWovyAE9dlhmifqUCjTmqEGb2KAa7Rpa7xET/aG 4jUgypT/iaoeBT5AE9Ql5C5t9wx8rZ8fADGDhNoodG5WA7kkljeXYV89oxblODCk1MbU q79w== X-Gm-Message-State: ALoCoQl5sUzkc84tPXdayCnRcBbXBkGSy/gWOGIBrkE1klHFvvAxf7kKLZmahdp5TMh2DSbiBkdX MIME-Version: 1.0 X-Received: by 10.60.173.103 with SMTP id bj7mr10167008oec.36.1400485378167; Mon, 19 May 2014 00:42:58 -0700 (PDT) Received: by 10.76.90.33 with HTTP; Mon, 19 May 2014 00:42:58 -0700 (PDT) Date: Mon, 19 May 2014 14:42:58 +0700 Message-ID: From: Andre Tampubolon To: caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=047d7bd74c587aa6aa04f9bbe963 Subject: [Caml-list] Self contained Windows executable? --047d7bd74c587aa6aa04f9bbe963 Content-Type: text/plain; charset=UTF-8 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 --047d7bd74c587aa6aa04f9bbe963 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello folks,

I just built= ocaml on Windows 7 (mingw).
I notice that executables compiled wi= th 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, ex= ecutables compiled with ocamlopt require Cygwin DLLs.

Is there= any workaround?
--047d7bd74c587aa6aa04f9bbe963--