Mail Archives: djgpp/1997/12/15/03:40:25
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.
- Raw text -