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 0BB7CBBAF for ; Wed, 15 Oct 2008 14:36:01 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As4BANt/9UhDWxLCbmdsb2JhbACBcpFtPq0lgWs X-IronPort-AV: E=Sophos;i="4.33,415,1220220000"; d="scan'208";a="18128623" Received: from ip67-91-18-194.z18-91-67.customer.algx.net (HELO server1.bertec.net) ([67.91.18.194]) by mail3-smtp-sop.national.inria.fr with ESMTP; 15 Oct 2008 14:36:00 +0200 Received: from kuba.bertec.net (kuba.bertec.net [192.168.2.16]) by server1.bertec.net (Postfix) with ESMTP id 44C1A105761 for ; Wed, 15 Oct 2008 08:35:59 -0400 (EDT) From: Kuba Ober To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Re: Road to native windows OCaml... Date: Wed, 15 Oct 2008 08:35:57 -0400 User-Agent: KMail/1.9.10 References: <200810131935.53365.kuba@mareimbrium.org> <200810141738.03532.kuba@mareimbrium.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810150835.58443.kuba@mareimbrium.org> X-Spam: no; 0.00; ocaml:01 ocaml:01 mingw:01 cygwin:01 compilation:01 cygwin:01 masm:01 cheers:01 wrote:01 wrote:01 compile:01 exception:01 msvc:01 msvc:01 caml-list:01 On Tuesday 14 October 2008, Sylvain Le Gall wrote: > On 14-10-2008, 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. > > Not at all. Once compiled, ocaml doesn't use cygwin anymore. With maybe > the big exception of some little thing in ocambuild, that should be > fixed in ocaml 3.11 (something like needing "tput"). > > For example, if you download and install OCaml MSVC from > http://caml.inria.fr and you open a MS Visual Studio 2005 MSDOS shell, > you can perfectly compile a native application (well I have not done it, > but I will try tomorrow ;-) > > All you need is "cl", "ml" and "link" I think (all are MSVC tools). And you need masm too, right? You're right of course, for whatever reasons I was still thinking of OCaml built with Cygwin :) Cheers, Kuba