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 08CC8BBBB for ; Thu, 16 Mar 2006 13:43:49 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k2GChmK7015346 for ; Thu, 16 Mar 2006 13:43:48 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA03988 for ; Thu, 16 Mar 2006 13:43:47 +0100 (MET) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k2GChkV5021595 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 16 Mar 2006 13:43:47 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FJrpN-0003U3-3i for caml-list@inria.fr; Thu, 16 Mar 2006 13:43:42 +0100 Received: from p5481c2c3.dip.t-dialin.net ([84.129.194.195]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Mar 2006 13:43:41 +0100 Received: from spiralvoice by p5481c2c3.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Mar 2006 13:43:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: spiralvoice Subject: Re: MinGW release running out of command line before passing to GCC? Date: Thu, 16 Mar 2006 12:43:24 +0000 (UTC) Message-ID: References: <8c64de0a0603051644p688d693fi2f62c55256bb6fd8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p5481c2c3.dip.t-dialin.net User-Agent: Xnews/2005.10.18 X-Face: &[I/m4lN=n>DtqPbM(VTW X-j-chkmail-Score: MSGID : 44195D82.000 on concorde : j-chkmail score : X : 0/20 1 X-Miltered: at nez-perce with ID 44195D84.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 44195D82.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; mingw:01 gcc:01 gcc:01 ocaml-:01 3.08.4:01 utils:01 ccomp:01 ocaml-:01 3.08.4:01 utils:01 ccomp:01 config:01 mrz:98 2006:98 wrote:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=FORGED_HOTMAIL_RCVD2 autolearn=disabled version=3.0.3 On Mo 06 Mrz 2006 01:44:19a Jeremy Shute wrote: > gcc: @F:\DOCUME~1\user\LOCALS~1\Temp\camlresp33a735: Invalid > argument Error during linking Hi, this patch fixed it for me: diff -uwNr ./ocaml-3.08.4/utils/ccomp.ml ./ocaml-3.08.4 _unicode/utils/ccomp.ml --- ./ocaml-3.08.4/utils/ccomp.ml 2005-02-02 16:39:40.000000000 +0100 +++ ./ocaml-3.08.4_unicode/utils/ccomp.ml 2005-09-08 15:46:02.000000000 +0200 @@ -42,9 +42,9 @@ let s = String.concat " " (List.map (fun f -> if f = "" then f else Filename.quote f) lst) in - if Sys.os_type = "Win32" && String.length s >= 256 + (*if Sys.os_type = "Win32" && String.length s >= 256 then build_diversion lst - else s + else*) s let compile_file name = match Config.ccomp_type with Greetings, spiralvoice