From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 8E7A1BBC4 for ; Fri, 20 Mar 2009 16:26:55 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjICAK1Sw0mGnQCBlGdsb2JhbACVZgEBAQEJCwgJEQO/FoN9Bg X-IronPort-AV: E=Sophos;i="4.38,395,1233529200"; d="scan'208";a="22932950" Received: from shiva.jussieu.fr ([134.157.0.129]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Mar 2009 16:26:55 +0100 Received: from hydrogene.pps.jussieu.fr (hydrogene.pps.jussieu.fr [134.157.168.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id n2KFQsEu062346 ; Fri, 20 Mar 2009 16:26:54 +0100 (CET) X-Ids:164 Received: from strontium.pps.jussieu.fr (Debian-exim@strontium.pps.jussieu.fr [134.157.168.38]) by hydrogene.pps.jussieu.fr (8.13.4/jtpda-5.4) with ESMTP id n2KFQkdG028444 ; Fri, 20 Mar 2009 16:26:46 +0100 Received: from vouillon by strontium.pps.jussieu.fr with local (Exim 4.69) (envelope-from ) id 1LkgbC-0007dt-L6; Fri, 20 Mar 2009 16:25:30 +0100 Date: Fri, 20 Mar 2009 16:25:30 +0100 From: Jerome Vouillon To: Alan Schmitt Cc: caml-list@inria.fr Subject: Re: [Caml-list] Compiling ocaml-ssl under windows (mingw) Message-ID: <20090320152530.GA28762@pps.jussieu.fr> References: <49B6C53D.2040800@glondu.net> <8B14B676-FB23-4FAB-B0DD-AD7D197092FF@polytechnique.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8B14B676-FB23-4FAB-B0DD-AD7D197092FF@polytechnique.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.jussieu.fr [134.157.0.164]); Fri, 20 Mar 2009 16:26:55 +0100 (CET) X-Virus-Scanned: ClamAV 0.94.2/9144/Fri Mar 20 11:51:14 2009 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail2.jussieu.fr with ID 49C3B5BE.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 49C3B5BE.000/134.157.168.1/hydrogene.pps.jussieu.fr/hydrogene.pps.jussieu.fr/ X-j-chkmail-Score: MSGID : 49C3B5BE.000 on jchkmail2.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.028 -> S=0.028 X-j-chkmail-Status: Ham X-Spam: no; 0.00; vouillon:01 vouillon:01 mingw:01 0100,:01 schmitt:01 mingw:01 ocaml:01 20,:98 2009:98 wrote:01 unix:01 unix:01 compile:01 compile:01 jerome:01 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