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 SAA21251 for caml-red; Wed, 27 Dec 2000 18:59:28 +0100 (MET) 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 DAA04490 for ; Wed, 27 Dec 2000 03:36:16 +0100 (MET) Received: from mail.is.titech.ac.jp (mail.is.titech.ac.jp [131.112.51.131]) by concorde.inria.fr (8.11.1/8.10.0) with SMTP id eBR2aET22408 for ; Wed, 27 Dec 2000 03:36:14 +0100 (MET) Received: (qmail 10165 invoked from network); 27 Dec 2000 02:36:12 -0000 Received: from dmznat-9.is.titech.ac.jp (HELO localhost) (131.112.51.189) by mail.is.titech.ac.jp with SMTP; 27 Dec 2000 02:36:12 -0000 To: caml-list@inria.fr Subject: Re: wish In-Reply-To: <861yuvd160.fsf@itz.dsl.speakeasy.net> References: <20001222192311M.wakita@is.titech.ac.jp> <861yuvd160.fsf@itz.dsl.speakeasy.net> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.1 (AOI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20001227113529Y.wakita@is.titech.ac.jp> Date: Wed, 27 Dec 2000 11:35:29 +0900 From: Ken Wakita X-Dispatcher: imput version 991025(IM133) Sender: weis@pauillac.inria.fr In message (<861yuvd160.fsf@itz.dsl.speakeasy.net>) from Ian Zimmerman , talking about "Re: wish", on 26 Dec 2000 00:41:59 -0800 > Ken> 2. compilers and other tools recognize "-i " options that > Ken> specifies the include subdirectories relative to the standard > Ken> library path (e.g., "ocamlc -i labltk" instead of "ocamlc -I > Ken> /usr/local/lib/ocaml-3.00/labltk"). > > This is already possible with Stolpmann's findlib. Right. Actually I sometimes use findlib and I feel comfortable with it. But I am reluctant to use it in a project that I intend to distribute to others simply because findlib is not part of the standard distribution. My proposal is simple and easy to use. For instance, building a multithreaded GTk-based GUI application can be done by: ocamlopt -o -i lablgtk -i threads which is more pleasant than ocamlopt -o \ -I /usr/local/lib/ocaml-3.00/lablgtk \ -I /usr/local/lib/ocaml-3.00/threads I was very glad that ocaml-3.00 reuses linking information stored in libraries (.cma and .cmxa). This feature removed most of the long and ugly --ccopt and --cclib options from my Makefiles's. I guess my proposal is along this spirit and steps little bit further. The same (and probably more intelligent stuff) can be done by using findlib. But I suppose it is easier to convince INRIA people to include my simple proposal in the standard distribution than findlib. Ken Wakita