Mail Archives: djgpp/1999/08/25/22:15:12
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 -