Message-ID: <39419803.221A0CE2@gtcom.net> From: Krogg X-Mailer: Mozilla 4.61 [en] (Win95; U) X-Accept-Language: en,en-US,en-GB,ja,af MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP...Gprof tore something up! References: <393FF15E DOT C39C0175 AT gtcom DOT net> <200006090758 DOT KAA06169 AT alpha DOT netvision DOT net DOT il> <3940B899 DOT 8A8C3AD3 AT gtcom DOT net> <200006091445 DOT RAA32490 AT alpha DOT netvision DOT net DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 95 Date: Fri, 09 Jun 2000 21:21:07 -0400 NNTP-Posting-Host: 12.16.179.144 X-Trace: eagle.america.net 960600132 12.16.179.144 (Fri, 09 Jun 2000 21:22:12 EDT) NNTP-Posting-Date: Fri, 09 Jun 2000 21:22:12 EDT Organization: 24hoursupport.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > > From: Krogg > > Newsgroups: comp.os.msdos.djgpp > > Date: Fri, 09 Jun 2000 05:27:54 -0400 > > > > > > 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. > > > > That is one nasty bug...how does it blow out the > > timers? > > The bug I was talking about didn't do anything to the timers, it just > caused the profiling code to try to write to the monochrome display, > which will surely slow down any program. Ya,thats the bug i read about,I didnt figure that it had anything to do with the problem _I_ was having. > In DJGPP v2.02, there was another problem wth profiling, but it didn't > slow down programs, AFAIK. maybe there is mor bugs,I will update my stuff and try again, If i dont get same problem,then all is well,if i do,then i will report it here. > > How would i know?....gcc says 2.95 > > One way is to look at the header file include/sys/version.h. K...... /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */ #undef DJGPP #undef __DJGPP #undef __DJGPP__ #define DJGPP 2 #define __DJGPP 2 #define __DJGPP__ 2 #undef DJGPP_MINOR #undef __DJGPP_MINOR #undef __DJGPP_MINOR__ #define DJGPP_MINOR 2 #define __DJGPP_MINOR 2 #define __DJGPP_MINOR__ 2 hmmmmmmm,I am going to infer that this means... Djgpp version 2 minor 2... == 2.02 > > > What version of Binutils do you use, btw? What does "gprof --version" > > > print? > > > > gprof says 2.8.1 > > That is also very old. But Gprof itself couldn't be the reason for > slow-down, because it is only run (by you) after the profiled program > exits. Ok,maybe its not Gprof,but the code what is linked in with -pg...., which i would guess is all togather 1 system called "profilling", therefore i should have said "HELP...`profilling' tore something up"!. ITs getting to be that you got to be some kind of expert to use a compiler nowadays. > > Is there some tool that i can use to keep up with > > what version i have of everything,and help me > > know what to download..... > > The DJGPP mini-FAQ, posted weekly to comp.os.msdos.djgpp, shows the > latest versions of everything. > > One way of finding out what versions do you have installed, is to look > at the *.ver files in your manifest directory. Sounds like an chance for me to write a utility....unless a better one allready exists.... Anyway,thanks for your input,basicaly I need to update everything i got.I wish i had a cable modem with...,oh,nevermind, i allready said that.... :^) BE cool, Krogg. -- .sig