www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/12/07:01:10

Date: Fri, 12 Jan 2001 13:58:34 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Jim D. Daniels" <daniels8 AT flash DOT net>
Message-Id: <3791-Fri12Jan2001135834+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <3A5E9860.A0E11304@flash.net> (daniels8@flash.net)
Subject: Re: Problem with getting DJGPP to Execute
References: <3A5E9860 DOT A0E11304 AT flash DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Thu, 11 Jan 2001 23:38:40 -0600
> From: "Jim D. Daniels" <daniels8 AT flash DOT net>
> 
> c:\windows>gcc c:\c++\hello.exe hello.cpp
> I have created a file in the C:\ dir called c++ and put the file
> hello.cpp in to it.
> 
> What comes back is:
> 
> gcc.exe: c:\c++\hello.exe: No such file or directory (ENODENT)
> gcc.exe: hello.cpp: No such file or directory (ENODENT)
> gcc.exe: No input files

The correct command line is this:

   gpp hello.cpp -o hello.exe

This _must_ be explained somewhere either in the book or in some
README on the CD which comes with the book.  You are well advised to
read some introductory docs before you begin using the compiler.

- Raw text -


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