« Return to Thread: "ocaml_beginners"::[] Conditional compilation

Re: "ocaml_beginners"::[] ocamlopt -p & gprof

by Richard Jones-4 :: Rate this Message:

Reply to Author | View in Thread

On Wed, Oct 31, 2007 at 02:24:28PM -0700, Onur Ozyer wrote:

> I want to use gprof to profile the perf.
>
>
> I add the "-p" to ocamlopt, where the sources aer
> compiled and ML library is linked. "ocamlopt" works
> succesfully.
>
> However, at the last step, where the executables are
> linked, I'm having this error:
>
>     Cannot find file std_exit.p.cmx
>
> I don't have a file with "*std_exit*" Does anyone know
> why it coud be happening ?

Sounds like a packaging problem.  What operating system / distribution
/ etc?

Rich.

--
Richard Jones
Red Hat

 « Return to Thread: "ocaml_beginners"::[] Conditional compilation