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 AAA10522; Fri, 22 Feb 2002 00:05:56 +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 AAA09495 for ; Fri, 22 Feb 2002 00:05:55 +0100 (MET) Received: from escargot.exelixis.com (shaker.exelixis.com [65.209.203.254]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g1LN5rL16218; Fri, 22 Feb 2002 00:05:54 +0100 (MET) Received: from quasar.ipa.nw.ru (dhcp-172-29-16-196.exelixis.com [172.29.16.196]) by escargot.exelixis.com (8.8.8/8.8.8/GNAC-GW-2.1) with ESMTP id PAA09185; Thu, 21 Feb 2002 15:05:47 -0800 (PST) Message-ID: <3C757C55.A9AF8B7D@quasar.ipa.nw.ru> Date: Thu, 21 Feb 2002 15:01:41 -0800 From: "Alexander V. Voinov" X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Xavier Leroy CC: "caml-list@inria.fr" Subject: Re: [Caml-list] a hard road to a new toplevel References: <3C7403BA.B1AAF99D@quasar.ipa.nw.ru> <20020221151254.A31874@pauillac.inria.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi Xavier, Xavier Leroy wrote: > Library files (.cma files) provide an answer to this issue: *if* the > authors of the library did a good job, they built a .cma file that > groups all .cmo files for their library, in the right order. Then, > the final user simply links with the .cma file, and the OCaml linker > picks only the relevant .cmo files from the .cma. I see, this indicates what *I* did wrong: I'd better take a closer look at the available .cma files. With this it boiled down to: ocamlmktop extlib.cma unix.cma unix2.cma -o unix2top > Not true: -cclib -lunix2_c will pass a "-lunix2_c" option to gcc and ld. For some reason it didn't work for me with the stock ocaml-3.04 + cvs cdk, but I rolled back to cdk-3.02. Thank you! Alexander ------------------- 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