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-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 <mff@research.att.com>
AT&T Labs - Research

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