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 TAA16135; Sat, 1 Mar 2003 19:18:55 +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 TAA16021 for ; Sat, 1 Mar 2003 19:18:54 +0100 (MET) Received: from ep09.kernel.pl (ep09.kernel.pl [212.87.11.162]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h21IIsH17155 for ; Sat, 1 Mar 2003 19:18:54 +0100 (MET) Received: (qmail 6498 invoked by uid 566); 1 Mar 2003 18:18:52 -0000 Date: Sat, 1 Mar 2003 19:18:02 +0100 From: Michal Moskal To: Xavier Leroy Cc: John Carr , caml-list@inria.fr Subject: Re: [Caml-list] Re: hierarchical modules Message-ID: <20030301181802.GA19333@roke.freak> References: <20030227092923.A496@pauillac.inria.fr> <200302271539.KAA05673@contents-vnder-pressvre.mit.edu> <20030301190914.A14739@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030301190914.A14739@pauillac.inria.fr> User-Agent: Mutt/1.4i X-PGP-Fingerprint: CF89 1B14 11BE 1CC9 2CA3 7497 5E32 69B4 BC71 B4C2 X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, Mar 01, 2003 at 07:09:14PM +0100, Xavier Leroy wrote: > > I prefer specifying the container module name on the command line or > > adding a "package" declaration to the source file as in Java. > > Well, that would be necessary to address your point 1, and would also > remove the dependency on the GNU binutils tools (for ocamlopt -pack). > The one drawback of this approach is that compiled files thus > "pre-packed" could not be linked or loaded in the toplevel, only the > packed container would be; that might make testing a bit harder. IMHO not linking all modules packed with -pack when only one of them is referenced is much more important. At least until we'll have shared libraries. -- : Michal Moskal ::::: malekith/at/pld-linux.org : GCS {C,UL}++++$ a? !tv : PLD Linux ::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h ------------------- 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