Date: Sun, 16 Nov 1997 13:56:45 +0200 (IST) From: Eli Zaretskii To: DELCO J cc: djgpp AT delorie DOT com Subject: Re: Help with setup In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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 , 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.