<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/82b3d5d0d35fae3d00bd39fcde421760"
  from="Sean McLaughlin &lt;seanmcl@c...&gt;"
  author="Sean McLaughlin"
  date="2003-07-29T16:40:04"
  subject="[Caml-list] ocaml profiler on cygwin"
  prev="2003/07/d4af9359cdc183f21897cd610a09561c"
  next="2003/07/bdfccc44288b0bae0fa41fd8ae2054f9"
  next-in-thread="2003/07/ae8fb01f541c23da7066180fb777cfaa"
  prev-thread="2003/07/24e15096f082fa3a4284ba146728d8c5"
  next-thread="2003/07/8a44755359f14232b0fd5889d43037b7"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] ocaml profiler on cygwin">
<msg 
  url="2003/07/82b3d5d0d35fae3d00bd39fcde421760"
  from="Sean McLaughlin &lt;seanmcl@c...&gt;"
  author="Sean McLaughlin"
  date="2003-07-29T16:40:04"
  subject="[Caml-list] ocaml profiler on cygwin">
<msg 
  url="2003/07/ae8fb01f541c23da7066180fb777cfaa"
  from="Karl Zilles &lt;zilles@1...&gt;"
  author="Karl Zilles"
  date="2003-07-30T01:45:49"
  subject="Re: [Caml-list] ocaml profiler on cygwin">
</msg>
</msg>
</thread>

<contents>

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

</contents>

</message>

