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 VAA16191; Wed, 20 Feb 2002 21:18:59 +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 VAA16580 for ; Wed, 20 Feb 2002 21:18:58 +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 g1KKIu520881 for ; Wed, 20 Feb 2002 21:18:57 +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 MAA10680 for ; Wed, 20 Feb 2002 12:18:53 -0800 (PST) Message-ID: <3C7403BA.B1AAF99D@quasar.ipa.nw.ru> Date: Wed, 20 Feb 2002 12:14:50 -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: "caml-list@inria.fr" Subject: [Caml-list] a hard road to a new toplevel Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi All, I've recompiled (on Linux) a new version of CDK from the CVS, but try to use it with a stock distribution of OCaml 3.04, because it does not compile fully on the platform I'm interested in: Solaris 2.7. I try just to consider it as a set of binary modules (disregarding those which fail to recompile). I copied all of them into the main Caml library directory and try to make a new toplevel, which would have access to a module I'm interested in: Unix2. I started from ocamlmktop unix2.cmo -o unix2top and subsequently added more and more modules to the absence of which it complained. It took not less than one hour of trials. Resulting in this: ocamlmktop string2.cmo file.cmo str.cma netstring_str.cmo netencoding.cmo base64.cmo debug.cmo unix.cma timeout.cmo log.cmo unix.cma concur.cmo bufrw.cmo activebuffer.cmo str.cma unix.cma /usr/lib/ocaml/select.o /usr/lib/ocaml/libunix2_c.a string2.cmo filename2.cmo printexc2.cmo sys2.cmo unix2.cmo netstring_str.cmo netencoding.cmo network.cma unix2.cmo -o unix2top What did I do wrong? It is possible to get a transivite closure of all these dependencies in one shot? BTW the last step were purely gcc/ld dependecies on select.o and libunix2_c.a and there is now way to indicate libraries in the Unix style via -lLIB. 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