English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2005-02-21 (11:45)
From: Bauer, Christoph <Christoph.Bauer@l...>
Subject: AW: [Caml-list] Linking with ocamlopt fails.

> 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