Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2007-12-04 (05:00)
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 file. ocamlbuild already has the unix library set up for 
it, so the _tags file should be enough for you.