Message-Id: <200006090758.KAA06169@alpha.netvision.net.il> Date: Fri, 09 Jun 2000 10:57:36 +0200 X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b From: "Eli Zaretskii" To: djgpp AT delorie DOT com In-reply-to: <393FF15E.C39C0175@gtcom.net> (message from Krogg on Thu, 08 Jun 2000 15:17:50 -0400) Subject: Re: HELP...Gprof tore something up! References: <393FF15E DOT C39C0175 AT gtcom DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Krogg > 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?