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] native code compilation of pcre
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-07-19 (10:19)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] native code compilation of pcre
On Fri, 16 Jul 2004, Mary Fernandez wrote:
> I am able to link and use pcre.cmo/x just fine
> but want to create a library in which the pcre_stubs
> is linked statically into pcre.cmxa and then subsequent
> links into other libraries do not require pcre_stubs.

You just need to compile PCRE that way (see INSTALL-file):

  make STATIC=y

This will create a library which has pcre_stubs linked statically into
the library.


Markus Mottl          http://www.oefai.at/~markus          markus@oefai.at

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