From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q2SFJgw8010934 for ; Wed, 28 Mar 2012 17:19:43 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkBALgrc0/RVdY2kGdsb2JhbAAoGhaFM7MkCCIBAQEBCQkNBxQEI4IJAQEBBBICDxUIARsdAQMMBgULDQICBQwVAgIPAhACEQEFARwGDQEFAgEBHodoCymgHwqLSE6CcYUSP4EOAQULgSSIUXKCcIIYgRgElWGBEYRehTwGgx09hAuBUg X-IronPort-AV: E=Sophos;i="4.73,661,1325458800"; d="scan'208";a="151653571" Received: from mail-bk0-f54.google.com ([209.85.214.54]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 28 Mar 2012 17:19:37 +0200 Received: by bkcjc3 with SMTP id jc3so1864128bkc.27 for ; Wed, 28 Mar 2012 08:19:36 -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=RTvVgVbKAKy/57kYzimEIpyxA1tkQOV2Ui7P1iKp2Jo=; b=tThTdpMRRXzeN+5iuRUvs10MX1If0LfG45iCwPTwUlfIpGRjLXQ35I3NDP+mMq3riW fZQX/9FloFOFhKOJ4Q4v/DjAxchE9BKO9MylbgrrfsJGknYnpvmtXOMS7HF0fblUnxj1 QHGA2hebdmYYSfssg++09KnBWdSx9XNi1436inbkaGNobUm7yf18X8QQ5enD1M4Oe7xM gMGzAGbJbQwj8HwfmH6QKBZOS10K0Rzc0BVhY02HraZ2XhQUvo1/4Za7mEYpEN4jFbju 5QTt0mBeGMZHwU2JQ8tQWk8CJ5i8PFeyat8w9NemL+xqfTAGqRBcQLx8V0flNtQafuWm qmhg== Received: by 10.205.122.2 with SMTP id ge2mr12248348bkc.113.1332947976800; Wed, 28 Mar 2012 08:19:36 -0700 (PDT) Received: from [128.93.11.91] (sauternes.inria.fr. [128.93.11.91]) by mx.google.com with ESMTPS id jd17sm7355021bkb.4.2012.03.28.08.19.34 (version=SSLv3 cipher=OTHER); Wed, 28 Mar 2012 08:19:35 -0700 (PDT) Message-ID: <4F732BFE.104@gmail.com> Date: Wed, 28 Mar 2012 17:19:26 +0200 From: Jonathan Protzenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120328 Thunderbird/14.0a1 MIME-Version: 1.0 To: Kakadu CC: caml-list@inria.fr References: <4F730303.8000802@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 Unfortunately, ocamlbuild requires a unix-like environment, with a few utilities in the path: bash, mkdir... 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. Cheers, jonathan On Wed 28 Mar 2012 04:55:25 PM CEST, Kakadu wrote: > Hello! > > Can you test ocamlbuild on windows? On my vertual machine with XP it > can't create _build directory and says > > C:\prog\1>ocamlbuild main.byte > mkdir "C:\prog\1\_build" > bash: warning: could not find /tmp, please create! > bash: mkdir: command not found > Failure: Error during command `mkdir "C:\prog\1\_build"'. > Exit code 127. > > Best wishes, > Kakadu > > On Wed, Mar 28, 2012 at 4:24 PM, Jonathan Protzenko > wrote: >> Hi, >> >> I've spent the past few days improving the OCaml installer for windows. This >> should solve all issues that have been mentioned previously. This in >> preparation for the upcoming 4.0 release ; therefore, the "beta installer" >> below will install a fairly recent trunk version of OCaml. >> >> http://yquem.inria.fr/~protzenk/caml-installer/ocaml-4.01.0+dev0-i686-mingw64.exe >> >> Changelog: >> >> - The installer packages a working and well-configured findlib, out of the >> box. This means you can open up cmd.exe, type ocaml, then type #use >> "topfind";; in the top-level. >> - The installer no longer blasts the PATH variable if it is too long. >> Moreover, it is now able to deal with PATHs that are up to 8192 bytes long. >> - The installer is now able to deal with multi-user privileges: in >> particular, you can use this installer on a limited account: OCaml will >> properly install into your local "Application Data" folder if you don't have >> administrator rights on your machine. This should be particularly useful for >> school computers that run Windows. >> - Various fixes: better cleanups on exit, minor fixes for OCamlWinPlus, >> properly warn the user if it was unable to download ActiveTCL from the >> internet. >> - The installer packages a newer version of flexlink, so you shouldn't have >> any more issues with gcc not accepting the -mno-cygwin option. However, the >> new, official toolchain uses the mingw64 32-bit compilers. This means >> flexlink will look for a i686-w64-mingw32-gcc in your path whenever you try >> to do native compilation. The official, recommended way to work is to >> install cygwin and its mingw64 packages. While in theory it should be >> possible to work within a MSys environment, some issues [1] currently >> prevent you from doing so. >> >> [1] http://caml.inria.fr/mantis/view.php?id=5465 >> >> Please let me know if anything doesn't work as expected. This will be the >> official installer for the 4.0 release. >> >> Cheers, >> >> jonathan