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: 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:
http://caml.inria.fr/archives/200205/msg00291.html

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.

Thanks!
Mary

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