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 VAA13610; Mon, 17 Feb 2003 21:04:33 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA13555 for ; Mon, 17 Feb 2003 21:04:33 +0100 (MET) Received: from ux9.sp.cs.cmu.edu (UX9.SP.CS.CMU.EDU [128.2.220.166]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id h1HK4WP29099 for ; Mon, 17 Feb 2003 21:04:32 +0100 (MET) Received: from 12-227-100-158.client.attbi.com ([12.227.100.158]) by ux9.sp.cs.cmu.edu id aa07425; 17 Feb 2003 15:04 EST Received: from ecc by stratocaster.home with local (Exim 3.36 #1 (Debian)) id 18krV2-0000Fr-00 for ; Mon, 17 Feb 2003 15:04:24 -0500 Date: Mon, 17 Feb 2003 15:04:24 -0500 To: caml-list@inria.fr Subject: Re: [Caml-list] problem with -pack, native code, and PCRE Message-ID: <20030217200424.GC942@stratocaster.home> Mail-Followup-To: caml-list@inria.fr References: <20030217020234.GA31174@stratocaster.home> <20030217113713.A28510@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030217113713.A28510@pauillac.inria.fr> User-Agent: Mutt/1.4i From: "Eric C. Cooper" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, Feb 17, 2003 at 11:37:13AM +0100, Xavier Leroy wrote: > > If I use "-pack" on a native-code module that uses Pcre, I get link > > errors when I try to use it. It works fine with bytecode. > > I think it's an instance of PR#1480. Your test script works fine with > the development version of OCaml. I don't think there is an easy > workaround for OCaml 3.06. I ended up working around this by doing the packing "manually". Continuing my earlier example, I have "foo.ml" containing module A = A Of course, I have to explicitly link with all the sub-modules, and they are present in the top-level namespace, but that's acceptable for now. -- Eric C. Cooper e c c @ c m u . e d u ------------------- 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