X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc difficulties on MSDOS 6.22 with LFN driver installed Date: Fri, 2 Sep 2011 20:21:27 -0400 Organization: Aioe.org NNTP Server Lines: 44 Message-ID: References: <201108310027 DOT 22056 DOT juan DOT guerrero AT gmx DOT de> <201108312117 DOT 54522 DOT juan DOT guerrero AT gmx DOT de> <038ae4ff-44f2-4ad2-b806-a6ed9b6085a2 AT o9g2000vbo DOT googlegroups DOT com> NNTP-Posting-Host: qBjb0U1QTH77eiTXJSCpEw.user.speranza.aioe.org X-Complaints-To: abuse AT aioe DOT org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.2001 X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Microsoft Outlook Express 6.00.2800.2001 X-Priority: 3 X-MSMail-Priority: Normal Bytes: 2094 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Juan Manuel Guerrero" wrote in message news:038ae4ff-44f2-4ad2-b806-a6ed9b6085a2 AT o9g2000vbo DOT googlegroups DOT com... > On 1 Sep., 22:17, "Rod Pemberton" > wrote: > > 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. > Okay, I compiled that this way: gcc -Wall -ansi -pedantic -O2 -o hw.exe hw.c I'm not seeing any errors with MS-DOS v7.10 ... works - DJGPP 2.03 GCCv3.4.1 no lfn works - DJGPP 2.03 GCCv3.4.1 DOSLFN 0.32o works - DJGPP 2.03 GCCv3.4.1 DOSLFN 0.40e works - DJGPP 2.04 GCCv4.1.0 no lfn works - DJGPP 2.04 GCCv4.1.0 DOSLFN 0.32o works - DJGPP 2.04 GCCv4.1.0 DOSLFN 0.40e some setup info: MSDOS v7.10 (Win98SE) HIMEM.SYS was loaded DOSKEY was loaded SMARTDRV was not loaded no DRVSPACE.BIN or DBLSPACE.BIN loaded CWSDPMI v0.90+ (r5) modern, post 486 cpu, w/internal coprocessor, multiple cores Rod Pemberton