Date: Sun, 25 Apr 1999 12:15:18 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: jj cc: djgpp AT delorie DOT com Subject: Re: I read section 8 of FAQ and still cannot find .h files In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 24 Apr 1999, jj wrote: > D:\DJGPP>gcc -o hello.exe hello.cpp > d:/djgpp/tmp\cccimutb(.text+0x11):hello.cpp: undefined reference to `cout' > d:/djgpp/tmp\cccimutb(.text+0x16):hello.cpp: undefined reference to > `ostream::o > erator<<(char const *)' Both readme.1st and the FAQ (the latter does it right at its beginning) explain that to build C++ programs you need to use gxx instead of gcc, like this: gxx -o hello.exe hello.cpp Please try that, and if it doesn't work as well, post any error message(s) this command produces.