delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/15/03:40:25

Date: Mon, 15 Dec 1997 10:37:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Julia/Christopher Webb <cwebb DOT nospam AT ctos DOT com>
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: <Pine.SUN.3.91.971215103706.22478I-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019