From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 2A338BC0A for ; Fri, 16 Mar 2007 18:01:57 +0100 (CET) Received: from hub.hrl.com (hub.hrl.com [208.179.241.200]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l2GH1uxb015774 for ; Fri, 16 Mar 2007 18:01:56 +0100 Received: from [192.27.172.110] (dangle.hrl.com [192.27.172.110]) by hpux03.hrl.com (iPlanet Messaging Server 5.2 HotFix 2.10 (built Dec 26 2005)) with ESMTP id <0JF0004Y99Z5BT@hpux03.hrl.com> for caml-list@inria.fr; Fri, 16 Mar 2007 10:01:53 -0700 (PDT) Date: Fri, 16 Mar 2007 10:01:53 -0700 From: Aleksey Nogin Subject: Re: [Caml-list] ocamlbuild is VERY nifty In-reply-to: <9F700DB6-4276-429B-B8AE-78C5357EE6FE@gmail.com> To: Joel Reymont Cc: Caml List , omake@metaprl.org Reply-To: omake@metaprl.org, Caml List Message-id: <45FACD81.1090103@metaprl.org> Organization: MetaPRL/Mojave Research Group MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5.0.10 (X11/20070301) References: <45F6EF91.4090704@metaprl.org> <9F700DB6-4276-429B-B8AE-78C5357EE6FE@gmail.com> X-Miltered: at concorde with ID 45FACD84.004 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 mli:01 mli:01 defines:01 usr:01 lib:01 ocaml:01 cmo:01 bytecode:01 compilation:01 ocamlopt:01 byte:01 ocamlfind:01 lexer:01 parser:01 Joel, I think this was already brought up on the Caml list - it is the basic OCaml assumption, I believe, that you should not have an .mli without .ml. OMake makes the same assumption. If you do need the Easy module, you should have easy.ml. If your easy.mli only defines new types and/or signatures, you should be able to simply rename easy.mli into easy.ml. Hope this helps. Aleksey On 16.03.2007 06:46, Joel Reymont wrote: > Aleksey, > > I'm trying to build my project as you suggested but I get this error > > *** omake error: > File /usr/local/lib/omake/build/OCaml.om: line 1027, characters 8-53 > Do not know how to build "easy.cmo" required for "test.run" > > I only have easy.mli and no easy.ml, should I exclude easy from the > build list below? > > Thanks, Joel > > On Mar 13, 2007, at 6:38 PM, Aleksey Nogin wrote: > >> # Optional - use bytecode compilation even when ocamlopt is available >> NATIVE_ENABLED = false >> BYTE_ENABLED = true >> >> USE_OCAMLFIND = true >> OCAMLPACKS[] = ounit >> >> .DEFAULT: $(OCamlProgram test, test easy easy_lexer easy_parser >> parser_util symtab parser_test) > > -- > http://wagerlabs.com/ > > > > >