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 GAA31649; Thu, 4 Mar 2004 06:52:31 +0100 (MET) 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 GAA32151 for ; Thu, 4 Mar 2004 06:52:30 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from web41209.mail.yahoo.com (web41209.mail.yahoo.com [66.218.93.42]) by concorde.inria.fr (8.12.10/8.12.10) with SMTP id i245qSUM009638 for ; Thu, 4 Mar 2004 06:52:29 +0100 Message-ID: <20040304055227.27504.qmail@web41209.mail.yahoo.com> Received: from [67.242.203.94] by web41209.mail.yahoo.com via HTTP; Wed, 03 Mar 2004 21:52:27 PST Date: Wed, 3 Mar 2004 21:52:27 -0800 (PST) From: Vasili Galchin Subject: [Caml-list] Quasi newbie question To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; newbie:01 ocamlc:01 libunix:01 ocaml:01 ocaml:01 compile:02 unix:02 unix:02 cma:03 cma:03 wrote:03 explicitly:03 library:03 library:03 installed:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 44 Hello, I added some functionality (new functions) to an OCaml library. I rebuilt Ocaml (make world & make opt) and installed (make install). I am trying to compile and link a test case I wrote. When I run ocamlc, the linker cannot find a new function that I added. 1) I haven't found in the OCaml documentation how the linker is provided with library search paths! More explicitly for unix.cma, unix.a, libunix.a. How are linker search paths set up? 2) I also noted after "grepping" on Linux that there are several copies of unix.cma. Why? Regards, Vasili __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com ------------------- 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