Date: Sun, 12 Oct 1997 14:02:22 +0200 (IST) From: Eli Zaretskii To: Oon Lin cc: djgpp AT delorie DOT com Subject: Re: Can't understand error codes In-Reply-To: <343D85F9.446B@jcu.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.