delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/09/02/07:00:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gcc difficulties on MSDOS 6.22 with LFN driver installed
Date: Fri, 2 Sep 2011 03:46:43 -0700 (PDT)
Organization: http://groups.google.com
Lines: 34
Message-ID: <e5b1540d-525e-48b9-9b15-59e9ba823a23@s2g2000vby.googlegroups.com>
References: <201108310027 DOT 22056 DOT juan DOT guerrero AT gmx DOT de> <E1Qye2f-0005Iu-TI AT fencepost DOT gnu DOT org>
<201108312117 DOT 54522 DOT juan DOT guerrero AT gmx DOT de> <j3op85$567$1 AT speranza DOT aioe DOT org>
<038ae4ff-44f2-4ad2-b806-a6ed9b6085a2 AT o9g2000vbo DOT googlegroups DOT com> <83zkincty6 DOT fsf AT gnu DOT org>
NNTP-Posting-Host: 78.43.33.7
Mime-Version: 1.0
X-Trace: posting.google.com 1314960403 32464 127.0.0.1 (2 Sep 2011 10:46:43 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Fri, 2 Sep 2011 10:46:43 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: s2g2000vby.googlegroups.com; posting-host=78.43.33.7; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESNKRC
X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0,gzip(gfe)
Bytes: 2773
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 p82B024m030759
Reply-To: djgpp AT delorie DOT com

On 2 Sep., 08:57, Eli Zaretskii <e DOT  DOT  DOT  AT gnu DOT org> wrote:
> > From: Juan Manuel Guerrero <juan DOT guerr DOT  DOT  DOT  AT gmx DOT de>
> > Date: Thu, 1 Sep 2011 15:19:03 -0700 (PDT)
>
> > OFYI, I have djgpp 2.03 installed on the same partition with the same
> > MSDOS 6.22 so I can choose if I want to compile with 2.04 or 2.03.
> > gcc 4.6.1 and djgpp-2.03 work flawlessly.
>
> Wait a minute.  Are you saying that the problem is _only_ with GCC
> compiled with DJGPP 2.04, and that 2.03-compiled GCC works?  I don't
> think you said that before.
>
> If you compile with v2.03 a simple program that calls 7A46, and then
> run it with DOSLFN, does it also fail?
>
> If so, this is certainly due to the use of 7A46, because in v2.03
> `filelength' didn't call that function and `lfilelength' didn't exist
> at all.
>
> So I think we need to fix these 2 functions to work around this
> problem.

Sorry for having been  imprecise.  I usualy do not use djgpp 2.03
anymore
so I did not note that the gcc version compiled with 2.03 worked.
Yes, you are right, the problem is only with 2.04's  `filelength' and
`lfilelength'.
Both use 71A6 and fail with EOVERFLOW under certain circunstances.
The only thing we need to do is to fix both functions so they work
like
the 2.03 versions if the 71A6 call fails with EOVERFLOW.

Regards,
Juan M. Guerrero

- Raw text -


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