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