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 IAA18464; Tue, 13 Nov 2001 08:19:24 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA18319 for caml-list@pauillac.inria.fr; Tue, 13 Nov 2001 08:19:22 +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 AAA10784 for ; Tue, 13 Nov 2001 00:41:03 +0100 (MET) Received: from fichte.ai.univie.ac.at (fichte.ai.univie.ac.at [131.130.174.156]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id fACNf2H10141 for ; Tue, 13 Nov 2001 00:41:02 +0100 (MET) Received: (from markus@localhost) by fichte.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) id AAA09532; Tue, 13 Nov 2001 00:40:47 +0100 Date: Tue, 13 Nov 2001 00:40:47 +0100 From: Markus Mottl To: Johann Spies , caml-list@inria.fr Subject: Re: [Caml-list] Ocamlmakefile and Lablgtk Message-ID: <20011113004047.A9036@fichte.ai.univie.ac.at> References: <20011112153648.A736@adept.co.za> <20011112185939.B4777@chopin.ai.univie.ac.at> <20011113001722.A3664@adept.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011113001722.A3664@adept.co.za>; from jhspies@adept.co.za on Tue, Nov 13, 2001 at 00:17:22 +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 13 Nov 2001, Johann Spies wrote: > Cannot find file gtkInit.cmxa > ^^^^^^^^^^^^ > The problem is that it should use gtkInit.cmx. There is no > gtkInit.cmxa (at least in thei Debian distribution). Ok, I see, I thought that we were talking about a library. Try the following instead: OCAMLNLDFLAGS := gtkInit.cmx OCAMLBLDFLAGS := gtkInit.cmo It would certainly be better to have a true library file in the distribution rather than the "naked" compiled module file. > I did not previously understand the difference between .cmx and > .cmxa files. It becomes clearer now. .cmx-files are (natively) compiled implementations of OCaml-modules, .cmxa-files combine several such implementations, i.e. they are library files. Regards, Markus Mottl -- Markus Mottl markus@oefai.at Austrian Research Institute for Artificial Intelligence http://www.oefai.at/~markus ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr