www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/25/22:15:12

Date: Wed, 25 Aug 1999 14:27:01 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Clark <RClark30 AT compuserve DOT com>
cc: help <djgpp AT delorie DOT com>
Subject: Re: no subject
In-Reply-To: <199908241746_MC2-8230-D7BE@compuserve.com>
Message-ID: <Pine.SUN.3.91.990825142417.2834c-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 24 Aug 1999, Richard Clark wrote:

> gcc myfile.c -o myfile.exe -im
> 
> but the response i got was
> gcc.exe: myfile.c: no such file or directory (ENOENT)

The most probable cause for these problems is that you edited the source 
with some over-smart editor like the Notepad, which think they know 
better how you want your files be called.  In particular, Notepad appends 
".txt" to any name you type, unless you enclose the name in quotes.

Use the good-ole "DIR" command to see what files are in the directory.  
Don't rely on My Computer or Explorer, as they by default don't show the 
extension, either.

- Raw text -


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