From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7D2A0BC75 for ; Mon, 21 Feb 2005 12:45:14 +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 j1LBjDgA015708 for ; Mon, 21 Feb 2005 12:45:14 +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 MAA01925 for ; Mon, 21 Feb 2005 12:45:13 +0100 (MET) Received: from kaiserslautern1.lms-gmbh.de ([213.68.136.226]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j1LBjDRL015702 for ; Mon, 21 Feb 2005 12:45:13 +0100 Received: by kaiserslautern1.lmsintl.com with Internet Mail Service (5.5.2653.19) id ; Mon, 21 Feb 2005 12:45:12 +0100 Message-ID: From: "Bauer, Christoph" To: "'Julian'" , caml-list@inria.fr Subject: AW: [Caml-list] Linking with ocamlopt fails. Date: Mon, 21 Feb 2005 12:45:11 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5180A.CCEF6DB0" X-Miltered: at concorde with ID 4219C9CA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4219C9C9.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocamlopt:01 binary:01 ocaml:01 mingw:01 ocamlopt:01 lablgl:01 lablgl:01 cmxa:01 cmxa:01 bigarray:01 cmx:01 cmx:01 gcc:01 caml-list:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=HTML_50_60,HTML_MESSAGE autolearn=disabled version=3.0.2 X-Spam-Level: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C5180A.CCEF6DB0 Content-Type: text/plain Hi, > I'm using the binary distribution of OCaml based on MinGW. > I noticed that when I try to link more than 11 files together with > ocamlopt, it fails : > > > ocamlopt -o helloworld.exe -I +sdl -I +lablGL lablgl.cmxa sdl.cmxa > sdlttf.cmxa bigarray.cmxa sdlloader.cmxa sdlmixer.cmxa global.cmx > events.cmx scene.cmx camera.cmx tex.cmx interface.cmx > gcc: @C:/Temp\camlrespee624e: Invalid argument > Error during linking Open a cygwin shell and try it again. Christoph Bauer ------_=_NextPart_001_01C5180A.CCEF6DB0 Content-Type: text/html AW: [Caml-list] Linking with ocamlopt fails.

Hi,

> I'm using the binary distribution of OCaml based on MinGW.
> I noticed that when I try to link more than 11 files together with
> ocamlopt, it fails :
>
>
> ocamlopt  -o helloworld.exe -I +sdl -I +lablGL lablgl.cmxa sdl.cmxa
> sdlttf.cmxa bigarray.cmxa sdlloader.cmxa sdlmixer.cmxa global.cmx
> events.cmx scene.cmx camera.cmx tex.cmx interface.cmx
> gcc: @C:/Temp\camlrespee624e: Invalid argument
> Error during linking

Open a cygwin shell and try it again.

Christoph Bauer

------_=_NextPart_001_01C5180A.CCEF6DB0--