X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Juan Manuel Guerrero Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc difficulties on MSDOS 6.22 with LFN driver installed Date: Thu, 1 Sep 2011 15:19:03 -0700 (PDT) Organization: http://groups.google.com Lines: 47 Message-ID: <038ae4ff-44f2-4ad2-b806-a6ed9b6085a2@o9g2000vbo.googlegroups.com> References: <201108310027 DOT 22056 DOT juan DOT guerrero AT gmx DOT de> <201108312117 DOT 54522 DOT juan DOT guerrero AT gmx DOT de> NNTP-Posting-Host: 46.5.196.37 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1314915645 25196 127.0.0.1 (1 Sep 2011 22:20:45 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 1 Sep 2011 22:20:45 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: o9g2000vbo.googlegroups.com; posting-host=46.5.196.37; 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: 2862 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p81Mj2wG002933 Reply-To: djgpp AT delorie DOT com On 1 Sep., 22:17, "Rod Pemberton" wrote: > "Juan Manuel Guerrero" wrote in messagenews:201108312117 DOT 54522 DOT juan DOT guerrero AT gmx DOT de... > > The functions generating EOVERFLOW are filelength() and lfilelength(). > Both of > > them usefunction  0x7A46 to get the file size if LFN support is available. > But I > > assume that neither MSDOS nor DOSLFN  provide the required function.  May > we > > need to disind a better to certainly identify the OS used. > > Could you post the "trivial hello world program"?  Or, could you post a > minimal example of code that fails? #include int main(void) { return 0; } That is exactly the code that produced the error message I posted. > If you're sure the problem is DOSLFN, the first thing I'd try is an older > version without Jason Hood's updates.  Haftmann's final version, DOSLFN > 0.32o, is at the following link, in German, half-way down:http://www-user.tu-chemnitz.de/~heha/hs_freeware/freew.html IIRC I downloaded DOSLFN from that link. I will try an older version ASAP. 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. > I don't have 6.22 either.  I have MS-DOS 7.10 with GCC v3.41, GCC v4.0.1, > DOSLFN 0.32o, DOSLFN 0.40e installed.  So, I can test combinations of those, > if needed. Regards, Juan M. Guerrero