Version française
Home     About     Download     Resources     Contact us    
Browse thread
AW: [Caml-list] Linking with ocamlopt fails.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Igor Pechtchanski <pechtcha@c...>
Subject: Re: AW: [Caml-list] Linking with ocamlopt fails.
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