Mail Archives: djgpp/1999/09/07/17:48:49
Message-ID: | <37D534CD.9FE72805@this.newsgroup>
|
From: | Tony Welsh <reply DOT here AT this DOT newsgroup>
|
X-Mailer: | Mozilla 4.61 [en]C-NECCK (Win98; I)
|
X-Accept-Language: | en
|
MIME-Version: | 1.0
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | HELP! "invalid page exception"??
|
Lines: | 101
|
Date: | Tue, 07 Sep 1999 16:52:45 +0100
|
NNTP-Posting-Host: | 195.44.4.237
|
X-Trace: | news2-hme0 936727649 195.44.4.237 (Tue, 07 Sep 1999 19:07:29 BST)
|
NNTP-Posting-Date: | Tue, 07 Sep 1999 19:07:29 BST
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
I have the following files downloaded and unzipped into their directories
using WinZip, I have set the PATH and the DJGPP variables in my autoexec.bat
but whenever I try to use gcc or gpp the dos box dissappears and I get an
error similiar to this in a windows popup telling me the program has performed
an illegal operation and will be terminated, with only "ok" and "details"
buttons on the popup:
=== (popup for GCC/GPP error)
The program encountered an invalid page exception.
Fault location: 0028:49504D4F (for command "GCC -c chap01_1.c")
Fault location: 0028:454C4C4F (for command "GPP -c chap01_1.c")
Interupts in service: None
===
Files I was instructed to download from www.delorie.com/djgpp/zip-picker.cgi
given my requirements. I have all these zips and have unzipped them.
v2/copying.dj DJGPP Copyright info 2 kb
v2/djdev202.zip DJGPP Basic Development Kit 1.4 mb
v2/faq211b.zip Frequently Asked Questions 551 kb
v2/readme.1st Installation instructions 14 kb
v2apps/rhide14b.zip RHIDE 1.6 mb
v2gnu/bnu281b.zip Basic assember, linker 1.8 mb
v2gnu/em1934b.zip Emacs binaries 1.3 mb
v2gnu/em1934r1.zip Emacs runtime 1/3 1.4 mb
v2gnu/em1934r2.zip Emacs runtime 2/3 1.4 mb
v2gnu/em1934r3.zip Emacs runtime 3/3 1.3 mb
v2gnu/gcc295b.zip Basic GCC compiler 1.7 mb
v2gnu/gpp295b.zip C++ compiler 1.6 mb
v2gnu/lgp2811b.zip C++ libraries 583 kb
v2gnu/mak377b.zip Make (processes makefiles) 242 kb
v2gnu/txi312b.zip Info file viewer 500 kb
Total bytes to download: 16,074,267
===Trying to compile this piece of test code
//Chap01_1.c
void fn(void)
{
int autoVar; /*autoVar starts life here*/
static int staticVar = 0; /*value first time fn() is called*/
autoVar = 10;
staticVar = 20;
} /*autoVar ends life here*/
int main()
{
fn();
fn();
return 0;
}
===my C:\Autoexec.bat looks as follows;
SET CLASSPATH=C:\Program Files\PhotoDeluxe 2.0\AdobeConnectables
SET BLASTER=A220 I5 D1 H5 P330 T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
C:\PROGRA~1\NETWOR~1\MCAFEE~1\SCAN.EXE C:\
@IF ERRORLEVEL 1 PAUSE
REM [Header]
REM [CD-ROM Drive]
REM C:\WINDOWS\COMMAND\MSCDEX /D:MSCD001 /D:MSCD001
REM [Miscellaneous]
REM [Display]
REM Environment Settings For McAfee VirusScan
SET PATH=%PATH%;C:\PROGRA~1\NETWOR~1\MCAFEE~1
SET PATH=C:\DJGPP\BIN;%PATH%
SET DJGPP=C:\DJGPP\DJGPP.ENV
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,c:\windows\COMMAND\keyboard.sys
DOSKEY
===
I'm trying to use it in a Win98 DOS box, on an INTEL P3 550 with 128MB RAM.
RHIDE works okay until I try to get it do do something like compile then the
same error occurs, obviously because it is calling one of these (or another)
.EXE at that point. If the problem produced any type of error message that
would be a start but it just stops the DOS box dead and jumps back into window
with the error popup.
I'll check back on this thread every few days, so if you want me to give more
information, say what info you want and how to get it and it'll get posted
ASAP.
- Raw text -