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 KAA12081; Thu, 27 Nov 2003 10:34:27 +0100 (MET) 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 KAA13994 for ; Thu, 27 Nov 2003 10:34:25 +0100 (MET) Received: from mail.jumpy.it (outgoing1.jumpy.it [213.215.144.9]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hAR9YP107501 for ; Thu, 27 Nov 2003 10:34:25 +0100 (MET) Received: from h213-213-16-132.rm1.albacom.net (213.213.16.132) by mail.jumpy.it (6.5.028) id 3FBAB0A6000D098B for caml-list@inria.fr; Thu, 27 Nov 2003 10:34:24 +0100 From: Flavio Reply-To: sixdegreesoit@yahoo.it To: caml-list@inria.fr Subject: [Caml-list] OCamlMake and cmo files Date: Thu, 27 Nov 2003 10:33:00 +0100 User-Agent: KMail/1.5.2 X-Face: u^]j#BwYih?Y?./tfgaC)}_\5qv|Z,Sm/$E4zx0IM\AWf*T(r3P3X1K,a8:q)|mP;cDVnMy X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ocamlmake:01 beginners:01 ocamlmake:01 lablgtk:01 usr:01 ocaml-tools:01 incdirs:01 lablgtk:01 libs:01 gtkinit:01 ocamlc:01 gtkinit:01 cmo:01 cmo:01 makefile:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello all, Sorry if this is obvious, but I tried on the beginners list with no luck, so... I'm trying to use OCamlMake from Markus Mottl but don't know what to do with .cmo files. My Makefile is: (file editor2.ml is the example from lablgtk2 package) OCAMLMAKEFILE = /usr/share/ocaml-tools/OCamlMakefile SOURCES = editor2.ml RESULT = editor2 INCDIRS = +lablgtk2 LIBS = lablgtk gtkInit include $(OCAMLMAKEFILE) and the error is ocamlc -I +lablgtk2 lablgtk.cma gtkInit.cma -o editor editor.cmo Cannot find file gtkInit.cma Right, the file is gtkInit.cmo but if i add the extension to the filename it tells: Cannot find file gtkInit.cmo.cma Am I missing something obvious? Flavio ------------------- 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