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
Linking fails for native version of 3.11 under MinGW when using large number of modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-05-24 (19:03)
From: Hans Ole Rafaelsen <hans@s...>
Subject: Re: [Caml-list] Linking fails for native version of 3.11 under MinGW when using large number of modules
Matthieu Dubuget wrote:
> Hans Ole Rafaelsen a écrit :
>> By removing some of the packages from the link stage, it builds easily
>> with more BarXXX modules included. Some of the packages seems to high a
>> higher impact than others. By instead opening BXXX modules, which do the
>> same as BarXXX modules, but have shorter names, I'm able to include a
>> few more, when linking against the same packages. Including up to B116
>> works, and it fails when trying B117. So it looks like it is impacted of
>> both the number of symbols and their length. By not linking against any
>> packages, I'm able to include a large number of my own modules (tested
>> with long names), so it does not seem to be the length of the command
>> line arguments that is causing the problems.
>> Some info about the various versions of programs being used:
> Can you check the version of flexlink you are using? I had some problem
> when the command line was too long.
> I'm not sure what the error message where, though.
> Hoping this helps
> Salutations
> Matt

It's version 0.15 (that comes with current version of GODI). There is a 
version 0.17 now, but according to the change log, your fix is already 
in version 0.15. I could give it a try with version 0.17 (if it's just 
to change flexlink without having to recompile the whole installation).


Hans Ole