Mail Archives: djgpp/1996/11/21/17:10:29
Errors-To: postmaster AT bloomberg DOT com
From: timolmst AT cyberramp DOT net
Newsgroups: comp.os.msdos.djgpp
Date: Wed, 20 Nov 1996 22:49:51 GMT
Organization: CyberRamp.net, Dallas, TX (214) 340-2020/(817) 226-2020 for info
Lines: 20
Nntp-Posting-Host: pm1-14.cyberramp.net
X-Newsreader: Forte Free Agent 1.0.82
Dj-Gateway: from newsgroup comp.os.msdos.djgpp
Content-Type: text
Content-Length: 523
HI!
I am trying to port a unix application to dos. I am getting an error
from GCC saying some labels are undefined. They are :
SIGQUIT and SIGBUS
Aparantley it expects to find these defined in <SIGNAL.H>. The
<signal.h> file for the GCC with the DJGPP package doesn't define
them. Does anybody know what they should be? Or, how to work around
them?
I have GCC 2.7.2 on my Linux system, and it doesn't define then
either.
I'd appreciate it if someone knows the answer to this one.
Tim Olmstead
timolmst AT cyberramp DOT net
You could probably safely define them as follows:
#define SIGQUIT SIGINT
#define SIGBUS SIGSEGV
The SIGQUIT signal is a stronger version of SIGINT (like Ctrl-break -vs- Ctrl-C).
SIGBUS and SIGSEGV are subtle shadings of different kinds of address errors.
--
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com
A proverb is no proverb to you 'till life has illustrated it. -- John Keats
- Raw text -