Mail Archives: djgpp/1997/11/16/06:59:04
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 -