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 JAA27645; Tue, 16 Apr 2002 09:49:57 +0200 (MET DST) 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 JAA04609 for ; Tue, 16 Apr 2002 09:49:56 +0200 (MET DST) Received: from CS.UniBO.IT (leporello.cs.unibo.it [130.136.1.110]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3G7nt508444 for ; Tue, 16 Apr 2002 09:49:56 +0200 (MET DST) Received: from marcello.cs.unibo.it (root@marcello.cs.unibo.it [130.136.2.29]) by CS.UniBO.IT (8.9.3/8.9.3/Debian 8.9.3-6) with ESMTP id JAA29584; Tue, 16 Apr 2002 09:49:55 +0200 Received: (from sacerdot@localhost) by marcello.cs.unibo.it (8.9.3/8.9.3/Debian 8.9.3-21) id JAA12467; Tue, 16 Apr 2002 09:49:55 +0200 Date: Tue, 16 Apr 2002 09:49:55 +0200 From: Claudio Sacerdoti Coen To: Warp Cc: OCaml Subject: Re: [Caml-list] Unused .cma and .so Message-ID: <20020416094955.D12398@cs.unibo.it> References: <20020415192121.A11023@cs.unibo.it> <017301c1e4a5$f0899610$3900a8c0@warp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <017301c1e4a5$f0899610$3900a8c0@warp>; from warplayer@free.fr on Mon, Apr 15, 2002 at 07:49:49PM +0200 X-Operating-System: Debian GNU/Linux X-Organization: Department of computer science, University of Bologna, Eurpean Union Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > You have to link your binary using the -noautolink ocamlc parameter. > ( Watch the ocaml manual ) I already knew that parameter, but it is not what I would like to have. Here comes the problem with more informations: when using findlib with libraries providing more than one .cma (e.g. lablgtk), I expect findlib to add to the linking phase every .cma and ocamlc to not consider all the unuseful ones. Since ocamlc still considers the linking options of the .cma, I can't no more use findlib in that way and I have to add O(2^n) rules to the META file to choose exactly which .cma to add. If I use the -noautolink option, instead, it effects every .cma (even the ones belonging to other packages) and I have to add many many linking options by hand (and so why should I use findlib or something similar at all?) I hope to have been more clear. Regards, C.S.C. -- ---------------------------------------------------------------- Real name: Claudio Sacerdoti Coen PhD Student in Computer Science at University of Bologna E-mail: sacerdot@cs.unibo.it http://caristudenti.cs.unibo.it/~sacerdot ---------------------------------------------------------------- ------------------- 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