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-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 8CDEFBC75 for ; Mon, 21 Feb 2005 18:18:26 +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 j1LHIP1V025895 for ; Mon, 21 Feb 2005 18:18:26 +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 SAA08366 for ; Mon, 21 Feb 2005 18:18:25 +0100 (MET) Received: from slinky.cs.nyu.edu (SLINKY.CS.NYU.EDU [128.122.20.14]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1LHIOGs025890 for ; Mon, 21 Feb 2005 18:18:25 +0100 Received: from localhost (localhost [127.0.0.1]) by slinky.cs.nyu.edu (8.12.10+Sun/8.12.10) with ESMTP id j1LHIHW3002484; Mon, 21 Feb 2005 12:18:22 -0500 (EST) Date: Mon, 21 Feb 2005 12:18:17 -0500 (EST) From: Igor Pechtchanski Reply-To: caml-list@inria.fr To: "Bauer, Christoph" Cc: "'Julian'" , caml-list@inria.fr Subject: Re: AW: [Caml-list] Linking with ocamlopt fails. In-Reply-To: Message-ID: References: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at nez-perce with ID 421A17E2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 421A17E0.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocamlopt:01 wrote: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 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Mon, 21 Feb 2005, Bauer, Christoph wrote: > 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. ...Or try the Cygwin version of O'Caml. Igor Pechtchanski, the volunteer O'Caml maintainer for Cygwin -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT