From: David Allsopp <dra-news@metastack.com>
To: Romain Bardou <bardou@lsv.ens-cachan.fr>,
Jonathan Protzenko <jonathan.protzenko@gmail.com>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: RE: [Caml-list] Re: New version of the binary installer for Windows
Date: Mon, 2 Apr 2012 08:23:23 +0000 [thread overview]
Message-ID: <E51C5B015DBD1348A1D85763337FB6D9C28E5837@Remus.metastack.local> (raw)
In-Reply-To: <4F795D4D.1060503@lsv.ens-cachan.fr>
Romain Bardou wrote:
> Le 30/03/2012 16:15, Jonathan Protzenko a écrit :
> > Hi again,
> >
> > Following all the good suggestions in this thread, I've updated the
> > installer. It now downloads and runs cygwin's setup.exe so as to
> > provide a fully working environment for OCaml on windows after the
> > installer completes. The cygwin installer runs in silent mode, that
> > is, the progress window shows up, but there is no user prompt.
>
> Hello,
>
> I always heard that if you compile your program under the Cygwin
> environment, then the application needs to be run under the Cygwin
> environment as well; whereas if you use MinGW, you produce stand-alone
> executables. Is that still the case?
You misheard :o) If you compile your programs using the Cygwin *port* of OCaml (so either using Cygwin's OCaml package or by compiling OCaml from sources using ./configure && make world opt install) then your executables will depend on Cygwin.
The MinGW and MSVC ports don't use configure (at the moment) but instead use custom Makefiles - however, all four ports use the Cygwin *environment* (i.e. bash, make, findutils, etc.) to perform the build. For the MinGW ports, Cygwin's mingw64 *cross-compilers* are used.
> I need to give stand-alone executables to my users; I cannot tell them to
> install Cygwin as well. If your installer does not let me compile stand-
> alone executables, it has no value to me.
It does - the installer will install Cygwin's gcc-mingw64-core package. You can still run ocamlopt from a normal command prompt.
David
next prev parent reply other threads:[~2012-04-02 8:23 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-28 12:24 [Caml-list] " Jonathan Protzenko
2012-03-28 14:55 ` Kakadu
2012-03-28 15:19 ` Jonathan Protzenko
2012-03-28 15:25 ` Wojciech Meyer
2012-03-28 15:38 ` Jonathan Protzenko
2012-03-28 15:54 ` David Allsopp
2012-03-28 16:04 ` Jonathan Protzenko
2012-03-28 17:36 ` Adrien
2012-03-28 20:42 ` Jonathan Protzenko
2012-03-29 11:55 ` Kakadu
2012-03-29 12:18 ` Gabriel Scherer
2012-03-29 12:19 ` Jonathan Protzenko
2012-03-29 12:27 ` Kakadu
2012-03-28 15:32 ` Jonathan Protzenko
2012-03-30 14:15 ` [Caml-list] " Jonathan Protzenko
2012-03-30 14:41 ` David Allsopp
2012-03-30 17:38 ` Kakadu
2012-04-03 12:32 ` Jonathan Protzenko
2012-03-31 9:34 ` Sylvain Le Gall
2012-04-02 8:03 ` Romain Bardou
2012-04-02 8:21 ` Alain Frisch
2012-04-02 8:23 ` David Allsopp [this message]
2012-04-02 11:14 ` Adrien
2012-04-02 11:39 ` Romain Bardou
2012-04-02 11:53 ` Jonathan Protzenko
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=E51C5B015DBD1348A1D85763337FB6D9C28E5837@Remus.metastack.local \
--to=dra-news@metastack.com \
--cc=bardou@lsv.ens-cachan.fr \
--cc=caml-list@inria.fr \
--cc=jonathan.protzenko@gmail.com \
/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