delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/07/17:52:06

X-Originating-IP: [149.99.118.30]
From: "Mathew Hau" <mathew_wehtam AT hotmail DOT com>
To: djgpp AT delorie DOT com
Subject: Re: Problem with comiling Hello.c in DOS
Date: Sat, 07 Sep 2002 21:49:37 +0000
Mime-Version: 1.0
Message-ID: <F2702KtHkpcjs3bi6Di00013935@hotmail.com>
X-OriginalArrivalTime: 07 Sep 2002 21:49:38.0019 (UTC) FILETIME=[76666B30:01C256B8]
Reply-To: djgpp AT delorie DOT com

To whom it may concern,
    Hi, I am a new user to the DJGPP(DOS) version user. I download all the 
zip files, unzip them and put them all under
    C:\DJGPP>
and I also set the path in my autoexec.bat file.

Then I copy the source code of Hello.c into my Notepad and save it under 
c:\djgpp\hello.c.txt
then I open the MS-DOS Prompt and change the directory to C:\DJGPP>
and then I type the following command

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

BUT IT GIVES ME THE FOLLOWING LINES:

gcc.exe: hello.c: No such file or directory (ENOENT)
gcc.exe: no input files

I just want to know what did do wrong when compiling and how to fix it.

Thank you very much!!

Regards,

Mathew





_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

- Raw text -


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