Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Regards,
Markus

-- 
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