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: 2004-07-16 (18:26)
From: Mary Fernandez <mff@r...>
Subject: [Caml-list] native code compilation of pcre
I am getting an error from ocamlopt when linking a .cmxa file
that is created during compilation of the PCRE library.
(pcre lib v5.08)

Here's the message:

ocamlopt -verbose -a -o foo.cmxa pcre.cmxa 
pcre.cmxa is not a compilation unit description.

A thread in 2002 addressed the same problem, but
there was no resolution posted:

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.


Mary Fernandez <>
AT&T Labs - Research

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