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 TAA25111; Mon, 15 Apr 2002 19:50:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 TAA25466 for ; Mon, 15 Apr 2002 19:50:32 +0200 (MET DST) Received: from relay-2m.club-internet.fr (relay-2m.club-internet.fr [194.158.104.41]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3FHoVD17416 for ; Mon, 15 Apr 2002 19:50:31 +0200 (MET DST) Received: from warp (lns02v-7-221.w.club-internet.fr [212.194.30.221]) by relay-2m.club-internet.fr (Postfix) with SMTP id D69DB1698 for ; Mon, 15 Apr 2002 19:50:29 +0200 (CEST) Message-ID: <017301c1e4a5$f0899610$3900a8c0@warp> From: "Warp" To: "OCaml" References: <20020415192121.A11023@cs.unibo.it> Subject: Re: [Caml-list] Unused .cma and .so Date: Mon, 15 Apr 2002 19:49:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I used to think that linking a .cma when no module inside it is required > is completely hurtless. I was wrong: it seems that .so added during linking > of those .cma are loaded. To me, this seems a feature with a > counter-intuitive semantics. > > Is there any way to disable this behaviour? You have to link your binary using the -noautolink ocamlc parameter. ( Watch the ocaml manual ) Nicolas Cannasse ------------------- 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