caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Jerome Vouillon <Jerome.Vouillon@pps.jussieu.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Compiling ocaml-ssl under windows (mingw)
Date: Fri, 20 Mar 2009 17:14:28 +0100	[thread overview]
Message-ID: <58CB4192-C725-49EC-8F00-ACC7F7187295@polytechnique.org> (raw)
In-Reply-To: <20090320152530.GA28762@pps.jussieu.fr>

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

On 20 mars 09, at 16:25, Jerome Vouillon wrote:

> Hi Alan,
>
> On Fri, Mar 20, 2009 at 03:38:22PM +0100, Alan Schmitt wrote:
>> I am trying to use lwt under windows (using mingw), and I cannot  
>> get it
>> to compile, because I cannot compile the required ocaml-ssl.
>
> I believe you can compile Lwt without the ocaml-ssl library by just
> removing file src/lwt_ssl.mllib

OK. I wanted to install it through godi, but I guess it will be  
simpler to compile it directly. (The ideal would be a configuration  
option to have ssl as optional.)

> In file src/lwt_unix.ml, you should also change the line:
>  let windows_hack = Sys.os_type <> "Unix"
> into
>  let windows_hack = false
> This was a hack to make Unison work properly under Windows even though
> "select" did not support pipes.  As the implementation of "select" has
> been improved in Ocaml 3.11, it should no longer be necessary.

Very interesting, I was not aware of this.

Thanks,

Alan

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

      reply	other threads:[~2009-03-20 16:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10 16:28 options to write a cross-platform interacting program in OCaml Alan Schmitt
2009-03-10 17:19 ` [Caml-list] " Richard Jones
2009-03-10 19:53 ` Stéphane Glondu
2009-03-20 14:38   ` Compiling ocaml-ssl under windows (mingw) Alan Schmitt
2009-03-20 15:25     ` [Caml-list] " Jerome Vouillon
2009-03-20 16:14       ` Alan Schmitt [this message]

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=58CB4192-C725-49EC-8F00-ACC7F7187295@polytechnique.org \
    --to=alan.schmitt@polytechnique.org \
    --cc=Jerome.Vouillon@pps.jussieu.fr \
    --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).