caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocaml profiler on cygwin
@ 2003-07-29 16:40 Sean McLaughlin
  2003-07-30  1:47 ` Karl Zilles
  0 siblings, 1 reply; 2+ messages in thread
From: Sean McLaughlin @ 2003-07-29 16:40 UTC (permalink / raw)
  To: caml-list


Hello,

  I compiled ocaml on cygwin and everything seems to work except for the 
native profiler. 
I'm following the tutorial at
http://caml.inria.fr/oreilly-book/html/book-ora098.html
and got to the end where you examine the file gmon.out with gprof. 
Instead of a nice profile table I get

gprof: gmon.out: not in a.out format

Not being a unix expert, I'm not exactly sure what to do from here.
Has anyone got the native profiler working with cygwin?

Thanks,

Sean


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

* Re: [Caml-list] ocaml profiler on cygwin
  2003-07-29 16:40 [Caml-list] ocaml profiler on cygwin Sean McLaughlin
@ 2003-07-30  1:47 ` Karl Zilles
  0 siblings, 0 replies; 2+ messages in thread
From: Karl Zilles @ 2003-07-30  1:47 UTC (permalink / raw)
  To: Sean McLaughlin; +Cc: caml-list

Sean McLaughlin wrote:

> 
> Hello,
> 
>  I compiled ocaml on cygwin and everything seems to work except for the 
> native profiler. I'm following the tutorial at
> http://caml.inria.fr/oreilly-book/html/book-ora098.html
> and got to the end where you examine the file gmon.out with gprof. 
> Instead of a nice profile table I get
> 
> gprof: gmon.out: not in a.out format

I'm used gprof on cygwin.  Be sure to run gprof on the .exe file, and 
not on gmon.out.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

end of thread, other threads:[~2003-07-30  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-29 16:40 [Caml-list] ocaml profiler on cygwin Sean McLaughlin
2003-07-30  1:47 ` Karl Zilles

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).