Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild and automatic dependencies
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: Re: [Caml-list] ocamlbuild and automatic dependencies
It appears that simply copying foo.mli into foo.ml should solve the  
issue.

I kind of hate having two identical files that I'll need to update.  
Do I have to get used to it?

	Thanks, Joel

On Mar 14, 2007, at 1:11 PM, Nicolas Pouillard wrote:

> $ cat foo.mli
> type t = A | B
> $ cat bar.ml
> module F = Foo
> type t = F.t
>
> $ ocamlc -c foo.mli
> $ ocamlc bar.ml
> Error while linking bar.cmo: Reference to undefined global `Foo'
>
> Perhaps a bug ?

--
http://wagerlabs.com/