caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jerome Vouillon <Jerome.Vouillon@pps.jussieu.fr>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Compiling ocaml-ssl under windows (mingw)
Date: Fri, 20 Mar 2009 16:25:30 +0100	[thread overview]
Message-ID: <20090320152530.GA28762@pps.jussieu.fr> (raw)
In-Reply-To: <8B14B676-FB23-4FAB-B0DD-AD7D197092FF@polytechnique.org>

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

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.

-- Jerome


  reply	other threads:[~2009-03-20 15:26 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     ` Jerome Vouillon [this message]
2009-03-20 16:14       ` [Caml-list] " Alan Schmitt

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=20090320152530.GA28762@pps.jussieu.fr \
    --to=jerome.vouillon@pps.jussieu.fr \
    --cc=alan.schmitt@polytechnique.org \
    --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).