Version française
Home     About     Download     Resources     Contact us    
Browse thread
error building native code with ocamlbuild
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Erick Tryzelaar <erickt@d...>
Subject: Re: [Caml-list] error building native code with ocamlbuild
Ashish Agarwal wrote:
> Using ocamlbuild on the following example to build native code 
> includes a library twice, causing an error, but byte-code works fine. 
> Am I doing something wrong or is it a bug? Thanks for any help.

It looks like you're getting the unix library added twice, which 
ocamlopt doesn't like. In your case, I don't think you even need the 
myocamlbuild.ml file. ocamlbuild already has the unix library set up for 
it, so the _tags file should be enough for you.