delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/09/02/20:45:14

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Rod Pemberton" <do_not_have AT noavailemail DOT cmm>
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: <j3rrud$ktb$1@speranza.aioe.org>
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>
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" <juan DOT guerrero AT gmx DOT de> wrote in message
news:038ae4ff-44f2-4ad2-b806-a6ed9b6085a2 AT o9g2000vbo DOT googlegroups DOT com...
> On 1 Sep., 22:17, "Rod Pemberton" <do_not_h DOT  DOT  DOT  AT noavailemail DOT cmm>
> wrote:
> > Could you post the "trivial hello world program"? Or, could you post a
> > minimal example of code that fails?
>
> #include<stdio.h>
> 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


- Raw text -


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