Mail Archives: djgpp/2000/06/09/03:59:53
> From: Krogg <krogg DOT no DOT to DOT spam AT gtcom DOT net>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 08 Jun 2000 15:17:50 -0400
>
> ran the program for a little while and
> gprof'd it...Well that was cool,I was
> supprised that the function expected to
> be the hog was far shadowed by another...
>
> then i changed my switches back,only i
> used an uppercase -S....i got an error
> and changed that back to -s....recompiled
> the program and when i ran it,it was slow....
> It took longer than normal to load and there
> was a noticible framrate hit.....hmmm....
I'm guessing that you are using an old version of DJGPP, like v2.01.
That version had a bug in the library function that gets linked into
your application under -pg, and that bug could easily produce the
effects you are describing. See section 13.2 of the DJGPP FAQ, for
more details.
The solution is to upgrade to DJGPP v2.03.
If you already use v2.03, please report the details of your system
hardware and software. I don't think I've seen any similar problems
reported here about v2.03.
What version of Binutils do you use, btw? What does "gprof --version"
print?
- Raw text -