Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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/, you should also change the line:
  let windows_hack = Sys.os_type <> "Unix"
  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