caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlbuild and profiling
@ 2007-06-08 13:27 Daniel Bünzli
  2007-06-08 13:35 ` [Caml-list] " Daniel Bünzli
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Bünzli @ 2007-06-08 13:27 UTC (permalink / raw)
  To: OCaml List

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] ocamlbuild and profiling
  2007-06-08 13:27 ocamlbuild and profiling Daniel Bünzli
@ 2007-06-08 13:35 ` Daniel Bünzli
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Bünzli @ 2007-06-08 13:35 UTC (permalink / raw)
  To: Daniel Bünzli; +Cc: OCaml List

Nevermind : gprof is not supported on my platform. You don't need to  
compile with -p on macosx.

Sorry for the noise.

Daniel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-08 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-08 13:27 ocamlbuild and profiling Daniel Bünzli
2007-06-08 13:35 ` [Caml-list] " Daniel Bünzli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).