Mail Archives: djgpp/2000/06/09/21:30:16
Eli Zaretskii wrote:
>
> > From: Krogg <krogg DOT no DOT to DOT spam AT gtcom DOT net>
> > 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
- Raw text -