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=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id A01EFBC6C for ; Sat, 1 Sep 2007 12:03:50 +0200 (CEST) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.226]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l81A3n4R030612 for ; Sat, 1 Sep 2007 12:03:50 +0200 Received: by qb-out-0506.google.com with SMTP id a16so1396841qbd for ; Sat, 01 Sep 2007 03:03:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jKdBfT/9qORI07UVYcafoloxmhtE1qSA23eNmisIQ5nDUb9ryIorv9sF+anuqbjkQhP6a9uKk0YtCmJeh+4q5Ll2gyYY2x/TOmrguyyo8mi2WYvIJ/yN0/0U673fmCyj5n8BpKMAKmOyzBaHAdawVqvct4NkJFymxoCqrba8fDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uS5Lh1EBw+IqbOyCw4A/g5HUiNzvYhf6Ry37VnfvprixMabKVDaxcay2YBLN9SuA8G7YohZRgHLhvckKOtPBCynpd4Tw7tyCYbqg8ygFCZjgDAqENGxeKtqh34dHcIMcyBrijqndW9RNFMpZQg9AO3tBuaO/d/x3u6xjZoAaNkY= Received: by 10.35.14.18 with SMTP id r18mr3116225pyi.1188641028452; Sat, 01 Sep 2007 03:03:48 -0700 (PDT) Received: by 10.35.71.16 with HTTP; Sat, 1 Sep 2007 03:03:48 -0700 (PDT) Message-ID: <666572260709010303g352ee5e3xfbed05e76b721b32@mail.gmail.com> Date: Sat, 1 Sep 2007 12:03:48 +0200 From: Adrien To: caml-list@inria.fr Subject: Re: [Caml-list] MingW compiler (!) and Ocaml for Windows In-Reply-To: <46D8FD5A.2050005@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46D86CC1.5090801@wp.pl> <46D8FD5A.2050005@mail.ru> X-j-chkmail-Score: MSGID : 46D93905.001 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 46D93905.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; mingw:01 compiler:01 ocaml:01 ocaml:01 camlcvs:01 cvsweb:01 utils:01 ccomp:01 ccomp:01 mldonkey:01 libtool:01 libtool:01 mingw:01 wiki:01 functionnal:01 Hi, If I can read correctly, diversion is recent (i.e. ocaml 3.10) ( http://camlcvs.inria.fr/cgi-bin/cvsweb/ocaml/utils/ccomp.ml.diff?r1=text&tr1=1.1&r2=text&tr2=1.20.4.8 ). For the lazy ones, from ccomp.ml, > if Sys.os_type = "Win32" && String.length s >= 256 > then build_diversion lst > else s 256 is very low. When compiling ocaml, some commands are more than 2100 chars and they don't fail. If there was a 256 character limit I wouldn't compile much things (I can make opt.opt for ocaml and mldonkey compiles completely). >>From this page: http://www.accesspdf.com/article.php/2005020713040824 > What about Windows users who use the bash command shell, as packaged by > MSYS? I couldn't find an immediate answer via Google, but I did find a script > that tests this limit. It is used in the libtool configure script. I changed it a little, > and the results of my script (below) suggests you have at least 3145729 > characters, or about 3MB. > This result differs from that cited in the libtool configure script comments (256k > character limit for the mingw environment). I'm sure 256 chars is not the true limit but 256k chars seems too high. Conclusion ? =/ Btw, I am working on having ocaml work better under mingw. You can have a look at this page : http://wiki.cocan.org/ocaml_mingw_port . It doesn't work completely but mostly (in fact it may work for ocaml 3.09). Having a fully functionnal configure script is required for ocaml features not to be determined by the lowest common factor which is pretty low under win32... --- Adrien Nader