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 WAA11036; Sat, 17 Aug 2002 22:30:37 +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 WAA11123 for ; Sat, 17 Aug 2002 22:30:36 +0200 (MET DST) Received: from fichte.ai.univie.ac.at (fichte.ai.univie.ac.at [131.130.174.156]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g7HKNar02344 for ; Sat, 17 Aug 2002 22:23:38 +0200 (MET DST) Received: (from markus@localhost) by fichte.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) id WAA06275; Sat, 17 Aug 2002 22:23:29 +0200 Date: Sat, 17 Aug 2002 22:23:29 +0200 From: Markus Mottl To: Yutaka OIWA Cc: caml-list@inria.fr Subject: Re: PCRE on Win32-VC (Re: [Caml-list] compiling PXP , OCAMLNET AND PCRE to win32) Message-ID: <20020817202329.GE3237@fichte.ai.univie.ac.at> Mail-Followup-To: Yutaka OIWA , caml-list@inria.fr References: <20020817142803.GA996@ice.gerd-stolpmann.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Organization: Austrian Research Institute for Artificial Intelligence Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sun, 18 Aug 2002, Yutaka OIWA wrote: > One problem not solved is that OCamlMakefile pass the option > '--ccopt pcre' to ocamlc, and thus VC's linker searches the file pcre.obj, Are you sure that this option is passed? This option would actually not make much sense so I'd be grateful if you could tell me the exact command line. > # A Question: > # In what pathname should I place the native PCRE library? > # Name "pcre.lib"? "libpcre.lib"? > # Path "$(OCAMLLIBDIR)/contrib"? or "/winnt/system32" or whatever? > # Or should it be merged into "libpcre_stubs.lib"? When PCRE is statically linked, then it probably does not really matter, you should only make sure that the path is mentioned in LIBDIRS before compilation of PCRE-OCaml: then the compiler should automatically link in the required functions statically. In case you manage to build a dynamic version of PCRE, then you'll probably have to put the library in some place where the system can find it. > ## Does someone have a good knowledge of dynamic linking in Win32? > ## I have almost no knowledge of it. Sorry, I don't have the slightest idea, but suppose that it is conceptually similar to other systems. Regards, Markus Mottl -- Markus Mottl markus@oefai.at Austrian Research Institute for Artificial Intelligence http://www.oefai.at/~markus ------------------- 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