delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/16/06:59:04

Date: Sun, 16 Nov 1997 13:56:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DELCO J <jd3881 AT csc DOT albany DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Help with setup
In-Reply-To: <Pine.GSO.3.93.971109161044.16637A-100000@eve.albany.edu>
Message-ID: <Pine.SUN.3.91.971116135617.358O-100000@is>
MIME-Version: 1.0

On Sun, 9 Nov 1997, DELCO J wrote:

>    Am having a bit of trouble with installing the dgjpp 32 bit protected
> mode compiler on my computer.  I have followed the instructions, and when
> I try to compile a simple program, I get an error message saying that
> 'cout' isn't defined.  I'm using #include <iostream.h>, and cout <<"
> string";.  The iostream.h file was installed to the c:\djgpp\lang\cxx
> directory.   As per the djgpp faq, I have included the contents of my
> environ.lst, autoexec.bat and config.sys.

The info you posted doesn't reveal anything wrong.  The problem is
most probably with the way you run the compiler.  (You didn't include
the output of the compilation command when -v switch is added to it.)
Did you remember to link with `gxx' instead of `gcc'?  If not, that's
your problem.  The file v2/readme.1st available from the same place
you downloaded DJGPP includes examples of valid compilation commands.

- Raw text -


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