From: ed toivanen Newsgroups: comp.os.msdos.djgpp Subject: Install/compile woes. W95, Djjgpp v2 Date: Thu, 30 Apr 1998 13:08:52 -0700 Organization: BCTEL Advanced Communications Lines: 24 Message-ID: <3548DA54.17DC19AC@bc.sympatico.ca> NNTP-Posting-Host: m84.bctel.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I set the path to c:\djgpp\bin, and set DJGPP=c:\djgpp\djgpp.env. I can compile C programs fine, but when doing a basic hello program in cpp, I get error messages. #include int main(void){ cout << "Hello." << endl; return (0); } If lfn=n in djgpp.env, then the error "iostream.h:31 streambuf.h: No such file or directory (ENOENT)" If lfn=y , then I get "main.cpp: undefined reference to cout" and "main.cpp: undefined reference to ostream::operator<<(char const *)". Any ideas? Thanks, in advance, Ed