delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/26/12:15:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Tue, 26 May 2015 18:07:30 +0200
From: Mateusz Viste <mateusz DOT viste 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
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGGP/GCC - detect unset env variables before using them
References: <556480e2$0$3071$426a34cc AT news DOT free DOT fr> <55648DDB DOT 7010709 AT iki DOT fi>
In-Reply-To: <55648DDB.7010709@iki.fi>
Lines: 40
Message-ID: <55649a42$0$3359$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 26 May 2015 18:07:30 CEST
NNTP-Posting-Host: 82.225.72.113
X-Trace: 1432656450 news-4.free.fr 3359 82.225.72.113:62766
X-Complaints-To: abuse AT proxad DOT net
Bytes: 2404
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

Thanks for the info, in fact I am using an older version, gcc v4.7.1, 
since that's the one that comes with the latest stable DJGPP version 
(ie. 2.03).

It's great that newer versions don't have this problem anymore.

Thanks!

Mateusz



On 26/05/2015 17:14, Andris Pavenis (andris DOT pavenis AT iki DOT fi) wrote:
> 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