Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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.


Markus Mottl

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: