META file for bitmatch

View: New views
2 Messages — Rating Filter:   Alert me  

META file for bitmatch

by Richard Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[Is there a good mailing list for discussion of, or help with writing
META files?]

Anyhow ... For bitmatch, after a lot of faffing around yesterday, I
came up with this file:

  http://code.google.com/p/bitmatch/source/browse/trunk/META.in

I wonder if people would comment on it?  It seems to have problem.
One needs to write:

  ocamlfind ocamlc -package bitmatch.syntax -syntax bitmatch.syntax ...

instead of what I would have expected:

  ocamlfind ocamlc -package bitmatch -syntax bitmatch.syntax ...

Also it hard-codes preprocessor = "camlp4of".  I don't know if that is
a good thing or not.

Rich.

--
Richard Jones
Red Hat

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Re: META file for bitmatch

by Sylvain Le Gall-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 05-07-2008, Richard Jones <rich@...> wrote:

> [Is there a good mailing list for discussion of, or help with writing
> META files?]
>
> Anyhow ... For bitmatch, after a lot of faffing around yesterday, I
> came up with this file:
>
>   http://code.google.com/p/bitmatch/source/browse/trunk/META.in
>
> I wonder if people would comment on it?  It seems to have problem.
> One needs to write:
>
>   ocamlfind ocamlc -package bitmatch.syntax -syntax bitmatch.syntax ...
>
> instead of what I would have expected:
>
>   ocamlfind ocamlc -package bitmatch -syntax bitmatch.syntax ...
>
> Also it hard-codes preprocessor = "camlp4of".  I don't know if that is
> a good thing or not.

I was thinking that the call should have been:

ocamlfind ocamlc -package bitmatch.syntax -syntax camlp4o ...

Regards,
Sylvain Le Gall

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs