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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: ocamlbuild and profiling
Hello,

When I compile for profiling ocambuild fails because some standard  
library files are missing, namely those compiled with profiling support.

> > echo 'let () = print_int 3' > test.ml
> > ocamlbuild test.p.native
> + /usr/local/bin/ocamlopt.opt -p test.p.cmx -o test.p.native
> Cannot find file std_exit.p.cmx
> Command exited with code 2.
> Compilation unsuccessful after building 4 targets (0 cached) in  
> 00:00:00.

There are at least three possibilities :

1) This is a problem in my own install.
2) This is a bug in the distribution install process.
3) ocamlbuild should not look for profiling support in standard  
library files.

Can anybody give a hint ?

Thanks for your answers,

Daniel