Mail Archives: djgpp/1999/09/08/10:37:26
On Tue, 7 Sep 1999, Tony Welsh wrote:
> 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")
FWIW, the offsets of the fault location seem like parts of ASCII text
(the first one is "IPMO", the second "ELLO").
> v2gnu/gcc295b.zip Basic GCC compiler 1.7 mb
> v2gnu/gpp295b.zip C++ compiler 1.6 mb
> v2gnu/lgp2811b.zip C++ libraries 583 kb
This is a mistake: you need lgpp295b.zip. lgp2811b.zip does not
belong to GCC 2.95, it's from an older version of the compiler.
Mixing versions generally means trouble. (But I don't think it is the
reason for the crashes.)
> ===my C:\Autoexec.bat looks as follows;
AUTOEXEC.BAT seems to be okay. Are you sure this is the correct
AUTOEXEC.BAT? On Windows 98 it can be tricky to find the right one.
The instructions of the zip-picker tell you how to find it; please
make sure this is the file whose contents you post.
Please post CONFIG.SYS as well.
> 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.
What about other DJGPP programs--do they run or crash? What does
go32-v2 print when invoked with no arguments? Does info.exe work
normally (just type "info" at the command prompt and see if it
displays a menu and if you can move around with the cursor keys)?
Also, did you try to invoke gcc with other source files? If so, did
it also crash? What happens if you just type "gcc" and press [Enter]?
- Raw text -