Message-Id: <200006100526.IAA00841@mailgw1.netvision.net.il> Date: Sat, 10 Jun 2000 08:24:24 +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: <39419803.221A0CE2@gtcom.net> (message from Krogg on Fri, 09 Jun 2000 21:21:07 -0400) 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> <39419803 DOT 221A0CE2 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: Fri, 09 Jun 2000 21:21:07 -0400 > > #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 Yes, this is 2.02. In that version, the results of profiling are simply wrong: you'd get 100% of CPU time spent in the first function that appears in the profile. Upgrade to v2.03 and try again. Also note that it is not enough to relink wothout -pg, to remove the profiling code. You need also to recompile all the sources without the -pg switch (since -pg is used both when compiling and when linking). > ITs getting to be that you got to be some kind of expert to use > a compiler nowadays. No, not really. Everything I said is in the FAQ, so you could be an expert in reading the FAQ instead ;-) > > 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.... I think the zippo project does that. However, it's very simple to know the versions just by looking at the *.ver files' names. E.g., if you have djdev202.ver, you know you have DJGPP v2.02 installed, even without looking inside the file.