Version française
Home     About     Download     Resources     Contact us    
Browse thread
MinGW release running out of command line before passing to GCC?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: spiralvoice <spiralvoice@h...>
Subject: Re: MinGW release running out of command line before passing to GCC?
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