Version française
Home     About     Download     Resources     Contact us    
Browse thread
Dynlink and ocamlfind for camlp4 3.11?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Dynlink and ocamlfind for camlp4 3.11?
On Sun, Oct 04, 2009 at 08:32:17PM +0100, Conglun Yao wrote:
> Thanks, Rich.
> 
> ocamlfind ocamlc -package dynlink,json-static -syntax camlp4o -c test.ml
> ocamlfind ocamlc -package "dynlink,json-static" -syntax camlp4o -c test.ml
> ocamlfind ocamlc -package 'dynlink,json-static' -syntax camlp4o -c test.ml
> 
> But it still does not work.
> 
> System:  cygwin  + OCaml 3.11.1 + findlib 1.2.5 + json-staic 0,9.8

In that case, try listing dynlink explicitly, like:

  ocamlfind ocamlc dynlink.cma -package json-static [etc]

Anyhow, it sounds like a bug in the META files that are supplied with
your cygwin OCaml distribution.

Rich.

-- 
Richard Jones
Red Hat