Date: Tue, 18 Feb 1997 11:57:43 +0200 (IST) From: Eli Zaretskii To: Alan Marrs cc: djgpp AT delorie DOT com Subject: Re: profiling and ALLEGRO? In-Reply-To: <33082B15.41C6@signal.dra.hmg.gb> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 17 Feb 1997, Alan Marrs wrote: > Are there any important points I should know regarding the use of the > gprof profiler on code using the ALLEGRO library. I've got two separate > programs (both using ALLEGRO). If I compile both with the -pg compiler > flag set one runs fine and I get the profiling info, the other doesn't. This might have nothing to do with Allegro. There's a known bug in one of the library functions which are only used when you compile and link with -pg. The bugfix was posted to this news group; you can see it by searching the DJGPP mail archives at this URL: http://www.delorie.com/djgpp/mail-archives/ I suggest searching for the word "gprof".