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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id A8B3CBB81 for ; Mon, 6 Mar 2006 01:44:23 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k260iMGw002337 for ; Mon, 6 Mar 2006 01:44:22 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA03852 for ; Mon, 6 Mar 2006 01:44:21 +0100 (MET) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.182]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k260iKvp010266 for ; Mon, 6 Mar 2006 01:44:21 +0100 Received: by pproxy.gmail.com with SMTP id d42so27372pyd for ; Sun, 05 Mar 2006 16:44:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=OSOV9gJrUaBpq1O9FZvJq55EAuAnm7bpttinwFSuYqhWHLzzAngninc2lfMeq2cbwbNSUvn+2gCgt5eqHJSli34J7ErJzPcVTjryy2h/CT66VeQmgHQOB0mVybJJ0nnT7iEeYnNoP8m59jamM3dV8LUVpoSe4nCHbbXD8R94gXs= Received: by 10.64.179.7 with SMTP id b7mr2294734qbf; Sun, 05 Mar 2006 16:44:19 -0800 (PST) Received: by 10.65.235.18 with HTTP; Sun, 5 Mar 2006 16:44:19 -0800 (PST) Message-ID: <8c64de0a0603051644p688d693fi2f62c55256bb6fd8@mail.gmail.com> Date: Sun, 5 Mar 2006 19:44:19 -0500 From: "Jeremy Shute" To: caml-list@inria.fr Subject: MinGW release running out of command line before passing to GCC? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7774_25710329.1141605859864" X-Miltered: at concorde with ID 440B85E6.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 440B85E4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; mingw:01 gcc:01 3.09:01 mingw:01 ocamlopt:01 -warn-error:01 cmxa:01 cmxa:01 cmx:01 gcc:01 binary:01 3.09:01 ocamlopt:01 -warn-error:01 cmx:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=HTML_50_60,HTML_MESSAGE, RCVD_BY_IP autolearn=disabled version=3.0.3 ------=_Part_7774_25710329.1141605859864 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm running 3.09 MinGW. When trying to compile like this... ocamlopt.opt -warn-error A -I . -o A.opt unix.cmxa str.cmxa nums.cmxa libB.cmxa A.cmx ...I get this error... gcc: @F:\DOCUME~1\user\LOCALS~1\Temp\camlresp33a735: Invalid argument Error during linking When I fiddle around with it, I discover that the problems come when I add another object to be linked. This can be either my own binary or one of th= e Caml included libraries. Can anyone explain why this might be, and what I can do to remedy it? Jeremy ------=_Part_7774_25710329.1141605859864 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

I'm running 3.09 MinGW.  When trying to compile like this..= .

ocamlopt.opt -warn-error A -I . -o A.opt unix.cmxa str.cmxa nums.cmxa = libB.cmxa A.cmx

...I get this error...

gcc: @F:\DOCUME~1\user\LOCALS~1\Temp\c= amlresp33a735: Invalid argument
Err= or during linking

When I fiddle around with it, I discover that the problem= s come when I add another object to be linked.  This can be either my = own binary or one of the Caml included libraries.

Can anyone explain= why this might be, and what I can do to remedy it?

Jeremy
------=_Part_7774_25710329.1141605859864--