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
[Caml-list] ocamlc linking loads dlls?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-11-14 (06:38)
From: Chris Hecker <checker@d...>
Subject: [Caml-list] ocamlc linking loads dlls?

Why does ocamlc load dlls during linking?  From reading 
bytecomp/bytelink.ml it doesn't seem like it does much with the information 
except for getting paths (which you could do without loading the dll), yet 
this is a big problem for a) dlls that aren't in the path during build, and 
b) dlls that do complex stuff in their dllmain.

Am I missing something and this is really necessary?

ocamlopt doesn't do it, for what it's worth.


To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners