caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Aleksey Nogin <nogin@metaprl.org>
To: Joel Reymont <joelr1@gmail.com>
Cc: Caml List <caml-list@inria.fr>, omake@metaprl.org
Subject: Re: [Caml-list] ocamlbuild is VERY nifty
Date: Fri, 16 Mar 2007 10:01:53 -0700	[thread overview]
Message-ID: <45FACD81.1090103@metaprl.org> (raw)
In-Reply-To: <9F700DB6-4276-429B-B8AE-78C5357EE6FE@gmail.com>

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/
> 
> 
> 
> 
> 


      reply	other threads:[~2007-03-16 17:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-07 15:53 Joel Reymont
2007-03-07 20:55 ` [Caml-list] beta-test of OCaml 3.10.0 Jon Harrop
2007-03-13 18:38 ` [Caml-list] ocamlbuild is VERY nifty Aleksey Nogin
2007-03-16 13:46   ` Joel Reymont
2007-03-16 17:01     ` Aleksey Nogin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45FACD81.1090103@metaprl.org \
    --to=nogin@metaprl.org \
    --cc=caml-list@inria.fr \
    --cc=joelr1@gmail.com \
    --cc=omake@metaprl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).