www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/04/01:55:05

From: dd <duon0035 AT tc DOT umn DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ compile problem (ENOENT error)
Date: Tue, 04 Jan 2000 00:42:58 -0500
Organization: University of Minnesota, Twin Cities Campus
Lines: 16
Message-ID: <38718862.CC345FF3@tc.umn.edu>
References: <38716349 DOT F25C2016 AT tc DOT umn DOT edu> <387184FD DOT 26FB5999 AT imrworldwide DOT com>
NNTP-Posting-Host: pub56k-24-69.dialup.umn.edu
Mime-Version: 1.0
X-Mailer: Mozilla 4.05 [en] (WinNT; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sorry for not being so clear.  I know the C/C++ commands.
for C++:  gxx -ansi hello.cc -o hello.exe
for C:  gcc -ansi hello.c -o hello.exe
The hello.c compiled without any problem, but hello.cc wouldn't compile with
the error described earlier.
I unzipped & installed everything under d:/gcc.



Colin Forster wrote:

> gcc is a C compiler whereas hello.cc is a C++ program - use gxx instead.
>



- Raw text -


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