From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q2SKgxVw017746 for ; Wed, 28 Mar 2012 22:43:00 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkBAE53c0/RVde2kGdsb2JhbABFhUCzJQgiAQEBAQkJDQcUBCOCCQEBAQQSAg8VCAEbHAEBAwwGBQsNAgIFFgsCAgkDAgECAQ8CEQEFARwGDQEFAgEBHodoAZ0VCotIToJxhRo/iHYBBQuBJIgXOoV6gRgElWGLMYMdPYQL X-IronPort-AV: E=Sophos;i="4.73,663,1325458800"; d="scan'208";a="138142904" Received: from mail-ey0-f182.google.com ([209.85.215.182]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 28 Mar 2012 22:42:53 +0200 Received: by eaaf13 with SMTP id f13so600477eaa.27 for ; Wed, 28 Mar 2012 13:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=y9LVLkpUzLIAHamrIMrEccRd6b23sM2vy+4NXKfw0rI=; b=hRoEKQqWetD/NGV4PqPE4WtLdXSh4mt5H4OLtHEskrmLHg4a4Qo+zBCJGYBtKrW+t9 ZlBImVECSgn1Td0V80AhBIev+h52A4ExuTgIRJOTU7InrQb/A74cbU6BiPGqfWrXYJtr owSmArK+d1ImsgEa1yUCGt8Z2YUc3kCdWgcmAV8uwMaAFFnLUIA54DeP/af26G94tXzV VnlTCBYtswGbPQR5AQdbn4ulH0qF+St+/94yjHDxpxC/zOZATwYFTHNqKYIQRHLlCVIT gK4ZdoHQHXG0lfApXykS59HtPkTJh68dxe1CgwZp73ngMSYAI6hjS5z2Lgk1rUGAZkhs mpoA== Received: by 10.14.99.10 with SMTP id w10mr4418581eef.51.1332967372896; Wed, 28 Mar 2012 13:42:52 -0700 (PDT) Received: from ?IPv6:2a01:e35:2f37:f210:5e26:aff:fe0c:c1d8? ([2a01:e35:2f37:f210:5e26:aff:fe0c:c1d8]) by mx.google.com with ESMTPS id y11sm14222176eem.3.2012.03.28.13.42.50 (version=SSLv3 cipher=OTHER); Wed, 28 Mar 2012 13:42:51 -0700 (PDT) Message-ID: <4F7377C8.6070406@gmail.com> Date: Wed, 28 Mar 2012 22:42:48 +0200 From: Jonathan Protzenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120227 Thunderbird/13.0a1 MIME-Version: 1.0 To: Adrien CC: caml-list@inria.fr References: <4F730303.8000802@gmail.com> <4F732BFE.104@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] New version of the binary installer for Windows On 03/28/2012 07:36 PM, Adrien wrote: > On 28/03/2012, Wojciech Meyer wrote: >> On Wed, Mar 28, 2012 at 4:19 PM, Jonathan Protzenko >> wrote: >>> Unfortunately, ocamlbuild requires a unix-like environment, with a few >>> utilities in the path: bash, mkdir... >> It looks like he's got a partially installed environment - as bash is there. >> >>> The installer only provides the very basics. It does not provide a unix >>> environment on windows, only the ocaml binaries, flexlink, and ocamlfind. >>> If >>> you want to go further, e.g. use ocamlbuild, or benefit from native >>> compilation, you need to install a development environment, such as >>> cygwin, >>> or msys. Currently, because of bug 5465, cygwin is the recommended way. >>> >>> I've successfully used ocamlbuild under cygwin and msys, and it works >>> fine. >> How about bundling the installer with cygwin or msys? Beware of the >> license issues however. > Or make ocamlbuild not depend on bash. Only depending on a compliant > sh would already be quite nice but afaik, it should be possible to not > depend on a shell at all with minimal efforts. Any patches will be more than welcome, of course :). I've been in the process of trying to fix a bug related to ocamlbuild on windows, and the code is pretty, daunting, to say the least. Any contributions in that area would be most appreciated, and I'd be more than happy to review them! Cheers, jonathan > > Regards, > Adrien Nader