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
What's the purpose of the static library?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-09-23 (10:25)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] What's the purpose of the static library?

Le 23 sept. 08 ŕ 11:09, bill yan a écrit :

> And we'd like to know more about the OCaml library architectures,  
> like on what situation dynamic libraries are used, and when static  
> libraries are used, and so on..

This depends on what _you_ want. The tradeoffs of dynamic vs static  
linking are mostly as in any other language.

> Really appreciate if you could point me to a document that can help  
> on this topic.

o Part III of the manual (especially ocamlc ocamlopt and interfacing  
with C). http://caml.inria.fr/pub/docs/manual-ocaml/
o Chapter 7 and 12 of the Oreilly book http://caml.inria.fr/pub/docs/oreilly-book/html/index.html