Version française
Home     About     Download     Resources     Contact us    
Browse thread
options to write a cross-platform interacting program in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jerome Vouillon <Jerome.Vouillon@p...>
Subject: Re: [Caml-list] Compiling ocaml-ssl under windows (mingw)
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