www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/07/18:15:04

From: "Julian Aubourg" <julian AT doomworld DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <F2702KtHkpcjs3bi6Di00013935 AT hotmail DOT com>
Subject: Re: Problem with comiling Hello.c in DOS
Date: Sun, 8 Sep 2002 00:20:33 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 12
Message-ID: <3d7a78c2$0$1720$79c14f64@nan-newsreader-02.noos.net>
Organization: Noos
NNTP-Posting-Date: 07 Sep 2002 22:08:02 GMT
NNTP-Posting-Host: 212.198.160.44
X-Trace: 1031436482 news.noos.fr 1720 212.198.160.44
X-Complaints-To: abuse AT noos DOT fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> c:\djgpp\hello.c.txt

Your file is called hello.c.txt

> C:\DJGPP>gcc hello.c -o hello.exe

You try compiling hello.c which doesn't exist.

Only 2 solutions: rename the file hello.c.txt to hello.c or compile using
"gcc hello.c.txt -o hello.exe" which should work too iirc.


- Raw text -


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