From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA00778; Fri, 16 Jul 2004 20:26:46 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA00609 for ; Fri, 16 Jul 2004 20:26:45 +0200 (MET DST) Received: from mail-dark.research.att.com (mail-dark.research.att.com [192.20.225.112]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i6GIQiSH011627 for ; Fri, 16 Jul 2004 20:26:44 +0200 Received: from mail-blue.research.att.com (H-135-207-30-102.research.att.com [135.207.30.102]) by mail-dark.research.att.com (Postfix) with ESMTP id 175D3E80DF; Fri, 16 Jul 2004 14:26:44 -0400 (EDT) Received: from bigmail.research.att.com (bigmail.research.att.com [135.207.30.101]) by mail-blue.research.att.com (Postfix) with ESMTP id E2A991974CD; Fri, 16 Jul 2004 14:25:33 -0400 (EDT) Received: from [135.207.20.80] (lt-mff.research.att.com [135.207.20.80]) by bigmail.research.att.com (8.11.6+Sun/8.11.6) with ESMTP id i6GIQh427005; Fri, 16 Jul 2004 14:26:43 -0400 (EDT) Subject: [Caml-list] native code compilation of pcre From: Mary Fernandez To: caml-list@inria.fr, markus@oefai.at Content-Type: text/plain Organization: AT&T Labs - Research Message-Id: <1090002403.3979.141.camel@lt-mff.research.att.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 16 Jul 2004 14:26:43 -0400 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 40F81DE4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; pcre:01 mff:99 ocamlopt:01 pcre:01 ocamlopt:01 -verbose:01 foo:01 statically:01 mff:99 linked:01 fernandez:01 fernandez:01 cmo:01 cmxa:01 cmxa:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 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