delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/23/19:43:50

Sender: nate AT mercury DOT st DOT hmc DOT edu
To: djgpp AT delorie DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help, djgpp activation
References: <3 DOT 0 DOT 32 DOT 20001023171541 DOT 00719d00 AT popmail DOT esa DOT lanl DOT gov>
From: Nate Eldredge <neldredge AT hmc DOT edu>
Date: 23 Oct 2000 16:41:52 -0700
Message-ID: <83itqj15xb.fsf@mercury.st.hmc.edu>
Lines: 28
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
In-Reply-To: "Luke A. Ney"'s message of "Mon, 23 Oct 2000 17:15:42 -0600"
MIME-Version: 1.0
Posted-To: comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

The following message is a courtesy copy of an article
that has been posted to comp.os.msdos.djgpp as well.

"Luke A. Ney" <luke AT lanl DOT gov> writes:

> Dear Sir:
> 
> I have installed your djgpp C++ compiler from a CD provided with the book
> "SAMS Teach Yourself C++ in 24 Hours", Jesse Liberty, to my PC.  However,
> the first simple program example does not run; error messages related to
> 'ostream' and 'cout' which should have been included from the C++ libruary.
>  Do I need to pay you a fee or get an operating compiler from you?  Your
> direction would be greatly appreciated.

No, DJGPP is a free, fully functional compiler.  However, people who
include it with books or otherwise sell it often have it
installed/configured wrong, or misdocument it.

C++ programs should compile if you use the `gxx' command instead of
`gcc', which tells the compiler to link the C++ library.

If you have further trouble, you should probably install the latest
official release of DJGPP, which you can get from
http://www.delorie.com/djgpp/zip-picker.html .  That way, you can rule
out problems specific to the SAMS book, which few people in this forum
are likely to be using.

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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