Mail Archives: djgpp/1997/03/01/08:19:17
I wanted to profile a chunk of code. So, in RHIDE I set the Link for
Profiling option on, and I set the compiler debugging options "-pg" flag
on, and I recompiled the file with the area to profile and linked and ran
it. It created a file named gmon.out. Then I launched a dos shell, and
entered gprof gmon.out, and it said:
c:/djgpp/bin/gprof.exe: gmon.out: not in a.out format
So, obviously wither a bug in djgpp causes it to output the profiling data
in the wrong format, or a bug in RHIDE causes the profiling options not to
work correctly, or else a bug in gprof causes it not to recognise the
format, or not to be able to understand all the right formats.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -