delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/12/08:06:21

Date: Sun, 12 Oct 1997 14:02:22 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Oon Lin <Oon DOT Lin AT jcu DOT edu DOT au>
cc: djgpp AT delorie DOT com
Subject: Re: Can't understand error codes
In-Reply-To: <343D85F9.446B@jcu.edu.au>
Message-ID: <Pine.SUN.3.91.971012140158.8447I-100000@is>
MIME-Version: 1.0

On Fri, 10 Oct 1997, Oon Lin wrote:

> I'm new to DJGPP and every time there's an
> error message or a warning during build , I can't seem to understand it.

Post the error message and the offending code fragment (it's best to
post a complete but short function that triggers that message, so
people could recompile it) and you will have the explanation in reply.

> And how do I find out the meaning to words like SIGABRT or SIGSEGV ? And
> what's all the stuff I get when the program crashes ? It looks like they
> are the  values in the different registers . How can I know what does
> that mean so that I can debug ??

Download the DJGPP FAQ list (v2/faq210b.zip from the same place you
get DJGPP) and read section 9.2 there.  It explains this.

> Lastly , is it possible to have a pointer to a real mode function in
> DJGPP ? (Like a pointer to VESA 1.2's bank swicthing function ?) How do
> I get a pointer to it ?

The answer depends on what do you need to use that pointer for.  The
problem is usually not to get the pointer but to use it, since calling
real-mode code from a protected-mode program is a bit tricky.  Try
reading section 17.6 in the FAQ, for starters.

- Raw text -


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