delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/15/08:00:24

Date: Mon, 15 Sep 1997 14:57:17 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "F. Hayashi" <hayashi AT u DOT washington DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Oi vey! Help this newbie!
In-Reply-To: <Pine.A41.3.96a.970914180328.25734A-100000@dante30.u.washington.edu>
Message-ID: <Pine.SUN.3.91.970915145227.22620M-100000@is>
MIME-Version: 1.0

On Sun, 14 Sep 1997, F. Hayashi wrote:

> This sucker does not compile correctly, either with command line
> (gcc concom.cpp -o concom.exe) or under RHIDE.

From the DOS prompt, use gxx instead of gcc when compiling C++ programs.  
This is explained in the Getting Started section of the file README.1ST 
(in the same place where you get djdev201.zip) and also in section 8.7 of 
the DJGPP FAQ list.

(Don't know about RHIDE, but it should be automatic with it.  Try calling 
your source concom.cc and see if that helps.)
 
> I get a big list of error messages, having something to do with cout and
> such.

Please make a point of posting at least part of the error messages when 
you report problems.  It is very hard to guess the cause without seeing 
the messages.  Posting the code would be also nice.

> The INFO files mention a g++, which does not appear anywhere on the
> distributions I have.

DOS won't allow the `+' character is a filename, so you get gxx instead 
of g++.

- Raw text -


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