caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: spiralvoice <spiralvoice@hotmail.com>
To: caml-list@inria.fr
Subject: Re: MinGW release running out of command line before passing to GCC?
Date: Thu, 16 Mar 2006 12:43:24 +0000 (UTC)	[thread overview]
Message-ID: <Xns97888B9B99D91spiralvoicehotmailco@bernd-kuhls.de> (raw)
In-Reply-To: <8c64de0a0603051644p688d693fi2f62c55256bb6fd8@mail.gmail.com>

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


      parent reply	other threads:[~2006-03-16 12:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06  0:44 Jeremy Shute
2006-03-06 10:48 ` [Caml-list] " Xavier Leroy
2006-03-16 12:43 ` spiralvoice [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Xns97888B9B99D91spiralvoicehotmailco@bernd-kuhls.de \
    --to=spiralvoice@hotmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).