Date: Mon, 15 Dec 1997 10:37:40 +0200 (IST) From: Eli Zaretskii To: Julia/Christopher Webb cc: djgpp AT delorie DOT com Subject: Re: profiling bombs (was: Allegro Datafile --what am I doing wrong?) In-Reply-To: <349444a2.864259@news.weldlink.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 14 Dec 1997, Julia/Christopher Webb wrote: > As an unrelated aside -- does anyone happen to know why Win95 is > closing the DOS box with some sort of illegal instruction error when I > link with profiling enabled? It is not clear from your message whether the problem occurs during *linking* with -pg, or when you *run* the program thus linked. If the latter is true, then you should know that stock DJGPP v2.01 has a bug in its library which crashes programs linked with -pg. (This bug, and possible work-arounds, are explained in the DJGPP FAQ list, section 13.2.) You should get a patched mcount module, either from Tom Demmer's site or from the DJGPP bug-tracking system (http://www.delorie.com/djgpp/bugs/) and relink your program.