Mail Archives: djgpp/1998/12/27/06:35:49
At 13.10 1998-12-27 +0200, you wrote:
>
>On Sat, 19 Dec 1998, Peter Palotas wrote:
>
>> I'm having problems profiling my programs. I'm using the beta version of
>> egcs-1.1.1, and binutils 2.8.1. I compile and link my programs with the
>> -pg switch. But whenever I profile a program using gprof test.exe it
>> reports that the first function listed in the profile list takes 0.06
>> seconds, and 100% of the program time. All other functions are reported to
>> take 0.00 seconds.
>
>What platform did you (and Robert) try this on? DOS? Windows? what
>version?
I can't answer for Robert, but I tried it on plain M$-DOS version 6.20, no
Windows 95 installed. Using Robert's method, by replacing itimer.o in
libc.a with the one from djgpp 2.01 fixed the problem though. I don't know
if this caused any other problems or what the diffrences is, but we sure do
have a problem here I think, which is kind of important.
-----------------------------------------------------------
Peter Palotas alias Blizzar <blizzar AT hem1 DOT passagen DOT se>
A brief description of DJGPP:
NEVER BEFORE HAVE SO FEW DONE SO MUCH FOR SO MANY!
DJGPP is Just a Great Programming Pleasure
Do you want assistance when debugging your C/C++ programs?
Look at http://hem1.passagen.se/blizzar/mss/index.html
-----------------------------------------------------------
- Raw text -