delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Date: | Sat, 1 Sep 2012 15:11:47 -0700 (PDT) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | a1g2000vbk.googlegroups.com; posting-host=95.208.68.152; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 |
NNTP-Posting-Host: | 95.208.68.152 |
References: | <201208302244 DOT 31877 DOT juan DOT guerrero AT gmx DOT de> <50420942 DOT 7090804 AT iki DOT fi> |
User-Agent: | G2/1.0 |
X-HTTP-UserAgent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0,gzip(gfe) |
Message-ID: | <d1600e79-e7b5-4284-a1dd-96abb6788e3f@a1g2000vbk.googlegroups.com> |
Subject: | Re: gcc behaviour if djgpp.env is not available. |
From: | Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de> |
Injection-Date: | Sat, 01 Sep 2012 22:11:47 +0000 |
Bytes: | 2226 |
Lines: | 28 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q81MU2e2009238 |
Reply-To: | djgpp AT delorie DOT com |
On 1 Sep., 15:22, Andris Pavenis <andris DOT pave DOT DOT DOT AT iki DOT fi> wrote: > On 30.8.2012 23:44, Juan Manuel Guerrero wrote: > > > I do not know if this issue has already been discused but I have noticed > > that the DJGPP port of gcc crashes if it does not find djgpp.env. If gcc > > needs to load djgpp.env and fails, would not it be better that it issues > > some kind of error message instead of crashing? > > For an user not familiar with DJGPP it would be hard to figure out > > what has gone wrong. > > > The output below is produced by gcc471b on WinXP after having deleted > > djgpp.env. > > Did some debugging (gdb xgcc.exe, command line parameters -B./ > -print-prog-name=cc1) > > The crash is in src/crt0/crt0.S in dos_alloc_ok(). [snip] Unfortunately I am not familiar at all with the assembler stuff in src/crt0/crt0.S. Have we to fix something or is there something brocken in gcc itself? Regards, Juan M. Guerrero
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |