delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/26/11:14:47

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <55648DDB.7010709@iki.fi>
Date: Tue, 26 May 2015 18:14:35 +0300
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi)" <djgpp AT delorie DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: DJGGP/GCC - detect unset env variables before using them
References: <556480e2$0$3071$426a34cc AT news DOT free DOT fr>
In-Reply-To: <556480e2$0$3071$426a34cc@news.free.fr>
Reply-To: djgpp AT delorie DOT com

On 05/26/2015 05:19 PM, Mateusz Viste wrote:
> Hello list,
>
> I noticed very positive movements recently on this list, making me think that a new version of 
> DJGPP could appear in some near future, which would be great :)
>
> If I may suggest one pretty small problem (but very frustrating) that could be fixed in the 
> newest DJGPP:
>
> The current GCC.EXE compiler crashes horribly when the environment variable "DJGPP" is not set. 
> This variable is supposed to point to the djgpp.env file, and I understand it's necessary. 
> However, it would be *really* nice if gcc could simply output an error message saying that this 
> variable needs to be set, and what it needs to point to, instead of crashing with a page fault.

Which version?

Recent GCC versions reports an error in this case and there is no crash. 4.7.3 and 5.1.0 are OK

Andris

- Raw text -


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