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=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id E5E07BBC4 for ; Fri, 20 Mar 2009 17:14:28 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.38,395,1233529200"; d="sig'?scan'208";a="25980852" Received: from charm.inrialpes.fr ([194.199.25.104]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA; 20 Mar 2009 17:14:28 +0100 Cc: caml-list@inria.fr Message-Id: <58CB4192-C725-49EC-8F00-ACC7F7187295@polytechnique.org> From: Alan Schmitt To: Jerome Vouillon In-Reply-To: <20090320152530.GA28762@pps.jussieu.fr> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-12--587053154" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: [Caml-list] Compiling ocaml-ssl under windows (mingw) Date: Fri, 20 Mar 2009 17:14:28 +0100 References: <49B6C53D.2040800@glondu.net> <8B14B676-FB23-4FAB-B0DD-AD7D197092FF@polytechnique.org> <20090320152530.GA28762@pps.jussieu.fr> X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.930.3) X-Spam: no; 0.00; schmitt:01 schmitt:01 mingw:01 vouillon:01 0100,:01 mingw:01 ocaml:01 20,:98 2009:98 wrote:01 wrote:01 unix:01 unix:01 compile:01 compile:01 X-Attachments: type="application/pgp-signature" name="PGP.sig" name="PGP.sig" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-12--587053154 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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 --Apple-Mail-12--587053154 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (Darwin) iEYEARECAAYFAknDwOQACgkQNIAqM4hFUWiuOQCgiZIjBi0Q37mdbzADljY7Kqf0 nzQAn0l4q2xQV4EnAaEOjaOCyQokUOtA =N3Sp -----END PGP SIGNATURE----- --Apple-Mail-12--587053154--