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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 062CCBBC8 for ; Wed, 15 Oct 2008 11:42:49 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj4BAD9Y9UhRZ90wmmdsb2JhbACKBIlbAQEBAQEICwoHEQOtEYFr X-IronPort-AV: E=Sophos;i="4.33,415,1220220000"; d="scan'208";a="18121456" Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]) by mail3-smtp-sop.national.inria.fr with ESMTP; 15 Oct 2008 11:42:49 +0200 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20081015094248.EPI21103.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Wed, 15 Oct 2008 10:42:48 +0100 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20081015094248.SWSS2093.aamtaout03-winn.ispmail.ntl.com@romulus.metastack.com> for ; Wed, 15 Oct 2008 10:42:48 +0100 Received: from countertenor ([212.170.100.131]) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id m9F9geXM003595 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 15 Oct 2008 10:42:46 +0100 From: "David Allsopp" To: References: <200810131935.53365.kuba@mareimbrium.org> <200810141738.03532.kuba@mareimbrium.org> Subject: RE: [Caml-list] Road to native windows OCaml... Date: Wed, 15 Oct 2008 11:42:44 +0200 Organization: MetaStack Solutions Ltd. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckuRShEMM/h8ra6RmKSnJZ2Xeq1wQAY8l7Q In-Reply-To: <200810141738.03532.kuba@mareimbrium.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Scanned-By: MIMEDefang 2.64 on 81.102.132.74 X-Cloudmark-Analysis: v=1.0 c=1 a=BNWfb43yIh8A:10 a=BHk4w6ukizoA:10 a=-39tk4VbJ-E5MIFxq78A:9 a=Z08tAHX5eiOFzMJ7rUL7znOZyp4A:4 a=-wnwXlR73-0A:10 X-Spam: no; 0.00; ocaml:01 ocaml:01 mingw:01 cygwin:01 compilation:01 cygwin:01 gcc:01 ranlib:01 ocaml's:01 uninstall:01 compilation:01 wrote:01 wrote:01 binaries:01 caml-list:01 Kuba Ober wrote: > On Tuesday 14 October 2008, David Allsopp wrote: > > Kuba Ober wrote: > > > I've looked briefly at what it'd take to have OCaml > > > fully working natively (with mingw/VS), without any Cygwin > > > needed for compilation. > > > > Can I ask what the motivation is for this (out of interest, not > > criticism)? > > It only takes a matter of minutes to install Cygwin and it can be > > completely ignored once OCaml is compiled (I don't even have Cygwin in > > my PATH). > > The motivation is that I'm allergic to Cygwin. And you're not quite right > that > Cygwin is not needed later on: it is if you need to generate native code, > or link with native code. Sorry - by "needed" I mean you don't need to run Cygwin's bash to use OCaml. The final stage of my OCaml installation procedure involves copying the required Cygwin binaries (ar.exe, as.exe, cygiconv-2.dll, cygintl-3.dll, cygintl-8.dll, cygwin1.dll, dlltool.exe, gcc.exe and ranlib.exe) to OCaml's bin directory at which point OCaml "uses" Cygwin but I don't have to. I wasn't meaning that you could uninstall it after compilation... David