From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA21146 for caml-redistribution; Mon, 22 Mar 1999 08:51:48 +0100 (MET) 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 BAA24844 for ; Sat, 20 Mar 1999 01:46:21 +0100 (MET) Received: from ns.euro.ge.com (ns.euro.ge.com [204.90.182.10]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id BAA10904 for ; Sat, 20 Mar 1999 01:46:15 +0100 (MET) Received: from smtp.euro.ge.com (smtp.euro.ge.com [205.173.90.6]) by ns.euro.ge.com (8.9.2/8.9.2) with ESMTP id AAA13705 for ; Sat, 20 Mar 1999 00:46:33 GMT Received: from thomas.ge.com (thomas.ge.com [3.47.28.21]) by smtp.euro.ge.com (8.9.2/8.9.2) with ESMTP id AAA05056 for ; Sat, 20 Mar 1999 00:45:53 GMT Received: from gemed.med.ge.com (gemed.med.ge.com [3.7.12.4]) by thomas.ge.com (8.9.3/8.9.3) with SMTP id TAA03292; Fri, 19 Mar 1999 19:45:52 -0500 (EST) Received: from mrs.med.ge.com by gemed.med.ge.com (SMI-8.6/SMI-SVR4) id SAA03775; Fri, 19 Mar 1999 18:47:39 -0600 Received: from swag.med.ge.com by mrs.med.ge.com (SMI-8.6/SMI-SVR4) id QAA03856; Fri, 19 Mar 1999 16:46:00 -0800 Received: by swag.med.ge.com (SMI-8.6/SMI-SVR4) id QAA04125; Fri, 19 Mar 1999 16:49:00 -0800 Date: Fri, 19 Mar 1999 16:49:00 -0800 From: gurr@mrs.med.ge.com (David Gurr) Message-Id: <199903200049.QAA04125@swag.med.ge.com> To: itz@transbay.net Subject: Re: config info Cc: caml-list@inria.fr X-Sun-Charset: US-ASCII Sender: weis > > Hi, The installation of ocaml based applications might be > > simplified if the standard "make install" copied the config lib and > > the config/Makefile to the library location. Or if this is messy, > > how about a "make install-devel" that does the copying? Thanks for > > considering this detail. > > Tcl/Tk does this, and I absolutely hate it. First of all, the config > file is text, The config lib is not text and could be extended to include all the config/Makefile info. > and in GNU-like environments it should go under the > share tree, not under lib. Second, and more important, it limits > flexibility in the derived installations. I *need* inflexiblity. The point of .cmi files is the inflexiblity of consistency. I need to use the same compiler etc that was used to build ocaml. > This is partly a > "philosophical" issue (see the last sentence of this message), but > also a practical one: any bug in the original build is automatically > propagated to the dependent ones. Since the config lib is used to build ocaml, and the config/Makefile is used to gen the config lib, if the config file is wrong, your ocaml build will be wrong and installation of applications is a moot point. > (With Tcl, this surfaced in the > naming of shared libraries). Perhaps I would understand your point if you explained this example. > Some prefer life simplified; others prefer to keep control of it. Re: philosophy: Why would knowing what C compiler was used to compile & link the bytecode interp result in a loss of control? -D