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.2 required=5.0 tests=AWL 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 38F62BBAF for ; Tue, 14 Oct 2008 21:32:12 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuICAMuQ9EjAXQImiGdsb2JhbACTIT4BAQEVIqJabCeHWQEDAQOBaA X-IronPort-AV: E=Sophos;i="4.33,410,1220220000"; d="scan'208";a="18102695" Received: from discorde.inria.fr ([192.93.2.38]) by mail3-smtp-sop.national.inria.fr with ESMTP; 14 Oct 2008 21:31:47 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m9EJVkSV016290 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 14 Oct 2008 21:31:46 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AusAAMuQ9EjRVcbimmdsb2JhbACTIT4BAQEBAQgLCgcRA6JXbCeHWQEDAQOBaA X-IronPort-AV: E=Sophos;i="4.33,410,1220220000"; d="scan'208";a="16083988" Received: from rv-out-0506.google.com ([209.85.198.226]) by mail2-smtp-roc.national.inria.fr with ESMTP; 14 Oct 2008 21:31:45 +0200 Received: by rv-out-0506.google.com with SMTP id k40so4230215rvb.57 for ; Tue, 14 Oct 2008 12:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=43PVHxyzog5NLKNmw1gh0KKaVXFZvE5erLDbHJhSh04=; b=lf3/QX+8Jt4HNoFmzHp7sF3SH0/qtCSxbcp234mBOK2eiV829zESgadvhRgxzviPoK XcSeVfK9tsAJxbZ4n6Lov71wwU333PJAI6orILlAX9FbnPwqKMgqJcSq4LB267azuXv2 2xDeo6/TycS2qfXLZCitgmEWZRcHM1JjnIiog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OIQL7OGefMcgUKR8SMEGz2/2+Khwahbl/1c8KmKSc82R6/TEy1tT1YEqxmh3UTwGdZ mMJ2wHbMeYf90nxC28lqj5eTtQ86yGe0e/EUSRgsCxF8e8ljt3E6JkTagsuxmcwq3g2O rvm8IwnVl5LD4bW322fMApAZd1yVJo5xEW/jE= Received: by 10.140.127.13 with SMTP id z13mr52046rvc.194.1224012704667; Tue, 14 Oct 2008 12:31:44 -0700 (PDT) Received: by 10.141.82.18 with HTTP; Tue, 14 Oct 2008 12:31:44 -0700 (PDT) Message-ID: <666572260810141231g41c1f887mfaf4484bb9da3eb7@mail.gmail.com> Date: Tue, 14 Oct 2008 21:31:44 +0200 From: Adrien To: "Dmitry Bely" Subject: Re : Re : [Caml-list] Road to native windows OCaml... Cc: "Caml List" In-Reply-To: <90823c940810141039u7ffd2de1te9158a00c3b2585c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810131935.53365.kuba@mareimbrium.org> <548B4D09-6EFF-4805-83E2-D1F413706EE5@erratique.ch> <666572260810140241p5d7b8ee2ofafebec229e9bce2@mail.gmail.com> <90823c940810141039u7ffd2de1te9158a00c3b2585c@mail.gmail.com> X-Miltered: at discorde with ID 48F4F3A2.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 cygwin:01 ocaml-:01 cygwin:01 ocaml:01 mldonkey:01 runtime:01 beginner's:01 bug:01 distrib:01 gpl:01 beginners:01 wrote:01 dmitry:01 dmitry:01 2008/10/14, Dmitry Bely : > On Tue, Oct 14, 2008 at 1:41 PM, Adrien wrote: > >>>> Can I ask what the motivation is for this (out of interest, not >>>> criticism)? >>> >>> Maybe because if you want to distribute executables using cygwin you >>> have to release your code under a GPL compatible license [1]. >>> >>> Daniel >>> >>> [1] http://caml.inria.fr/pub/distrib/ocaml-3.10/notes/README.win32 >> >> I would give another explanation : cygwin is big and slow. >> A base cygwin install is at least 1GB (when fully configured, after >> carefully reviewing *each* package), a regular one is 2GB. XP itself >> is not that big, I've not seen many applications that big, only CAD >> ones. > > No way. My Cygwin installation (quite enough for building Ocaml and > many other things) is just 274Mb. Not a big deal. I have to say I am really surprised. All the cygwin installations I've seen were terribly big, with tens of thousands of files, if not hundreds of thousands. Would you (and/or David) mind sharing you configuration file ? (the one created at the root of the package cache, don't remember the name). The point is not that I don't believe you, I just want to *know*. I guess the difference is that I also installed other development tools and libraries >> Cygwin is also slow, though it will probably not impact a student use >> (networking is slower due to the translation, I have mldonkey in >> mind). > > What exactly is slow when building Ocaml? make? Can you prove that? I won't prove that as I've not said *that*. You're talking about something very specific whereas I said something much more general. I'd like to say cygwin slowness is universally known but I'd be told I'm not proving anything. The point is that every operation that requires the cygwin translation layer is slow. Of course, if you don't use anything ocaml doesn't already provide, it won't be slow (but that wouldn't prove cygwin is not slow). Now, if you don't need to deliver/provide/release/... an application that specifically targets windows, I don't really get why you're running ocaml on windows, use a real linux installation, get a virtual machine (virtualbox is great), use ocamljava (which is great !). But anyway. >> ./configure are also painfully slow, the need to run several >> small commands where startup time is more important than runtime gives >> cygwin no chance [1]. > > Where did you find any ./configure script used for building the native > Win32 Ocaml? Again, ocaml is not the only application in the world, nor the *one* I was referring to. Even though this is the ocaml mailing-list and the topic is definitely about ocaml, there exist other things with which ocaml has to interact. And just for the report, you can run the ./configure scripts (they don't give you correct results but are mostly working) and, yes, they are slower. --- Adrien Nader > > - Dmitry Bely > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >