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 q2UHd42x019912 for ; Fri, 30 Mar 2012 19:39:04 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiEDAHvudU/RVdK2gGdsb2JhbAApGha4XQgiAQELBwINBxQnggkBAQEEEgIsARsdAQMMBgULDRUZIQEBEQEFARwGEyKHZwspoQIKjBaCcYUXP4EOAQULiXxzgmKDMASIUoUwh1+BEYobBoMdPYQOgU8 X-IronPort-AV: E=Sophos;i="4.75,345,1330902000"; d="scan'208";a="151995152" Received: from mail-iy0-f182.google.com ([209.85.210.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 30 Mar 2012 19:38:59 +0200 Received: by mail-iy0-f182.google.com with SMTP id k25so2066146iah.27 for ; Fri, 30 Mar 2012 10:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=B9idKkhp1UKghtF/NIHYQHT3kIaX/8fIFKe0B/H0IN4=; b=NwfN+ADCnj97zVYWr1DZbqC8kPzU6hS7KRkfpzVN/LMrbJkegRr7jovpq6N4jjdUHt k9EjxCwK5LMWHulqZbowHaycZ768n78S9le0lIGLqwqoleJHXZs7VoX1iRH6bI1+Tv1X 4UfSDNyzoJ5X5z9dPMUFR7kO31qCq7TvuL0Cg4boTIa1CmmsvNafYAcGntYx+CNIipN4 qyi/d/QXZduDoFKah1vxA7/JU19/F/NKQrktClrRX4aUZPUR8wSepWfI+f6wGVlw/0XL vhmaDctBEJotE2sklNVIHuya+raYrXgHCyBYMpNH7ZLAVvoizHN12NlRPU/BOOCq4ddK A/ZA== MIME-Version: 1.0 Received: by 10.50.87.225 with SMTP id bb1mr64997igb.13.1333129138892; Fri, 30 Mar 2012 10:38:58 -0700 (PDT) Received: by 10.42.57.77 with HTTP; Fri, 30 Mar 2012 10:38:58 -0700 (PDT) In-Reply-To: <4F75BFFA.6040407@gmail.com> References: <4F730303.8000802@gmail.com> <4F75BFFA.6040407@gmail.com> Date: Fri, 30 Mar 2012 21:38:58 +0400 Message-ID: From: Kakadu To: Jonathan Protzenko Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] Re: New version of the binary installer for Windows Hi Jonathan Can you test compilation using camlp4r preprocessor? It says that "OCaml and preprocessor have incompatible version" on my windows. Best wishes, Kakadu On Fri, Mar 30, 2012 at 6:15 PM, Jonathan Protzenko wrote: > Hi again, > > Following all the good suggestions in this thread, I've updated the > installer. It now downloads and runs cygwin's setup.exe so as to provide a > fully working environment for OCaml on windows after the installer > completes. The cygwin installer runs in silent mode, that is, the progress > window shows up, but there is no user prompt. > > I've also looked into odb compatibility, and it looks like after writing a > few patches, odb now runs fine on Windows. However, Oasis-generated setup.ml > files do not work at all on windows. Any help in that area would be highly > appreciated. > > Thanks, > > jonathan > > > On 03/28/2012 02: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 > > >