From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 4CD2EBDCB for ; Thu, 1 Sep 2005 02:26:15 +0200 (CEST) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j810QEO9015855 for ; Thu, 1 Sep 2005 02:26:14 +0200 Received: by wproxy.gmail.com with SMTP id i12so280608wra for ; Wed, 31 Aug 2005 17:26:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rPf/mrI/wJQo54sqHZlDu7ECdTbsXXo+/7wUd81Xf/HMFcHxa6+55xSA/MG296+4EupwTvvAxuaqHtEtgnNes+iAMiyTaFjO/W0HnaO0P8N6E9zpiCdVnIHO+8InTB9v82C0c+PiMa7Qwr72kncwEqNC2rdxMZdsUDOLrtWfLWg= Received: by 10.54.80.8 with SMTP id d8mr1172214wrb; Wed, 31 Aug 2005 17:26:13 -0700 (PDT) Received: by 10.54.91.4 with HTTP; Wed, 31 Aug 2005 17:26:12 -0700 (PDT) Message-ID: <8008871f05083117267e99b44a@mail.gmail.com> Date: Wed, 31 Aug 2005 20:26:12 -0400 From: "Christopher A. Watford" To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Request: Windows installers Cc: skaller In-Reply-To: <1125525838.7192.23.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1125525838.7192.23.camel@localhost.localdomain> X-Miltered: at nez-perce with ID 43164AA6.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 installers:01 ocaml:01 installers:01 ocaml:01 mingw:01 toplevel:01 toplevel:01 alas:01 mingw:01 ocamllib:01 path':01 binary:01 gcc:01 compiler:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 On 8/31/05, skaller wrote: > I have a small request for the Ocaml Windows installers: >=20 > There are TWO Windows based Ocaml ports: MinGW and Win32 native > plus the Cygwin port. >=20 > Please could the builders of these packages > distinguish them?? >=20 > Make the default install points, desktop icons, menu items, > etc all distinct. Plus, with the OcamlWinPlus thing, make sure > the port/version of Ocaml being used is displayed on the titlebar: > even the help/about does not tell you this (hmm .. and 'ocaml' > command should tell you this too) I'll fix that. In my copy Help -> About does, but the entire thing is built such that it doesn't need to know the version. Unfortunately the best thing I can do is grab the first line from ocaml.exe... which is fugly. If the EXE is stamped I'll take out of the NT image headers. OCamlWinPlus really needs an embedded toplevel. Because piping in that toplevel is a sonofabitch. I could spruce the thing up big time or drop it into Eclipse/MSVS if I could step through the toplevel code wise. Alas I'm not quite sure how to start this. =20 > I have, and need, all three versions of Ocaml installed, > and it is all very confusing, both MingW and native ports > think they own the world and use the same OCAMLLIB variable, > and also both expect themselves to be first in the PATH. Personally MingW should come second to MSVS. But I don't think your 'first in PATH' to be correct. > Please don't add the binary directory to the system PATH > without asking, just as for registering Ocaml file types, > please DO ask whether to do this (for installing both > ports .. the answer will be NO in both cases). I agree. > For the MinGW port it is required to use Cygwin? the port > doesn't appear to actually work with MSYS (standalone > Mingw tools including gcc/as and bash)? >=20 > The Windows native version using native code compiler > seems to work provided you have the assembler ML.EXE > and ML.ERR installed, but you also seem to need > MSVC++ compiler CL.EXE and some .lib and .dll files. >=20 > I don't quite understand why CL.EXE is required, > why isn't LINK.EXE good enough? Isn't everything > done via assembler? CL is the primary on that 'toolchain'. I was unaware of being able to go around it. > Anyhow, helloworld.ml compiles to native code fine using > ML.EXE 6.15, and Visual Studio Pro 2003 versions of > CL.EXE plus the required Lib and Dll files. >=20 > [If someone knows how to fix the PATH variable pls > email me privately .. I forget how to edit > environment variables .. :] >=20 > -- > John Skaller >=20 My thoughts, I'll get on the OCamlWinPlus stuff right now. --=20 Christopher A. Watford christopher.watford@gmail.com http://dorm.tunkeymicket.com