caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Romain Bardou <bardou@lsv.ens-cachan.fr>
To: Adrien <camaradetux@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: New version of the binary installer for Windows
Date: Mon, 02 Apr 2012 13:39:13 +0200	[thread overview]
Message-ID: <4F798FE1.9010709@lsv.ens-cachan.fr> (raw)
In-Reply-To: <CAP5QFJnJ5+eAW7mrc_fkGg55pFRH5=Ei-+dFn0KaouVZB2MLdA@mail.gmail.com>

Le 02/04/2012 13:14, Adrien a écrit :
> On 02/04/2012, Romain Bardou<bardou@lsv.ens-cachan.fr>  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?
>>
>> 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.
>
> Others have already pointed out that it wasn't necessarily the case.
>
> If you call "gcc" from cygwin, you'll end up with cygwin binaries but
> you can very simply cross-compile.
>
> Cygwin provides a POSIX environment that can also run windows stuff
> and does some translation between the two but if you cross-compile,
> you can target whatever you want and that includes "pure" windows.
>
> Also, note that msys, which is often used when cygwin isn't, is
> similar to cygwin (and it's a "light" fork of cygwin), also requires
> you to provide a specific library and changes the behaviour of the
> application. However, you should absolutely never ever build anything
> msys (msys is also a target for gcc, which has never been merged and
> is from gcc 2.95 or 2.96).
>
> With x-compilation, you can do what you want:
> - need full POSIX? cygwin
> - need some POSIX? msys (maybe)
> - need some POSIX but not a lot? a library on top of win32, or move
> away from posix directly
>
> By the way, there was a netbsd-derived environment named Interix which
> microsoft used to advise. Windows 8's documentation now advises users
> of Interix to use cygwin or mingw(-w64).
>
> Regards,
> Adrien Nader
>
>

Thanks to all of you for clarifying this !

-- 
Romain

  reply	other threads:[~2012-04-02 11:48 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
2012-04-02 11:14     ` Adrien
2012-04-02 11:39       ` Romain Bardou [this message]
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=4F798FE1.9010709@lsv.ens-cachan.fr \
    --to=bardou@lsv.ens-cachan.fr \
    --cc=camaradetux@gmail.com \
    --cc=caml-list@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).