delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/16/08:42:03

Date: Sun, 16 Mar 1997 16:17:53 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Nina Bhavnagri <carromex AT wire DOT net DOT au>
cc: djgpp AT delorie DOT com
Subject: Re: djgpp crashes with illegal operation
In-Reply-To: <3320E00C.3B74@wire.net.au>
Message-ID: <Pine.SUN.3.91.970316161642.12150g-100000@is>
MIME-Version: 1.0

On Sat, 8 Mar 1997, Nina Bhavnagri wrote:

> From: Nina Bhavnagri <carromex AT wire DOT net DOT au>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 08 Mar 1997 13:42:04 +1000
> Organization: World Wire P/L
> Lines: 135
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Mailer: Mozilla 3.01 (Win95; I)
> DJ-Gateway: from newsgroup comp.os.msdos.djgpp
> Content-Type: text/plain; charset=us-ascii
> Content-Length: 2347
> 
> I am trying to compile my C programs using DJGPP, but it (and the DOS
> 
> box) crashes with
> 
>   This program has performed an illegal operation and will be 
> 
>   terminated. Quit all programs, and then restart your computer.

Invoke gcc like so:

	redir -o gcc.log -eo gcc -v ....

(put the rest of your command line instead of the dots), then post
here the contents of the file `gcc.log'.

> PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\GCC\BIN;C:\COMPRESS

Try moving the C:\GCC\BIN directory to the head of PATH.

> go32/v2 version 2.0 built Jan 23 1996 22:03:02

That's DJGPP v2.0.  The latest release is v2.01, and I suggest you
upgrade since v2.0 had some subtle bugs with long filenames handling
on Windows 95 (which seems to be your environment).

- Raw text -


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