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: Bauer, Christoph <Christoph.Bauer@l...>
Subject: 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