Message-ID: <3B7CEA05.56DD62A6@hotmsil.com> From: Christopher all X-Mailer: Mozilla 4.77 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Installing C++ on top of C References: <3B7CDBC1 DOT 62DFD0C5 AT hotmsil DOT com> <9lio2t$cpp$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 44 Date: Fri, 17 Aug 2001 10:00:57 GMT NNTP-Posting-Host: 24.157.160.55 X-Complaints-To: abuse AT home DOT net X-Trace: news4.rdc1.on.home.com 998042457 24.157.160.55 (Fri, 17 Aug 2001 03:00:57 PDT) NNTP-Posting-Date: Fri, 17 Aug 2001 03:00:57 PDT Organization: Excite AT Home - The Leader in Broadband http://home.com/faster To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi , Thanks Hans for the help in installation !! Now i have another problem. I am using gcc version 2.95.2 19991024 (release) I have problems compiling my trivial program. #include void main() { cout << "My first C++ program\n\n"; } I tried " gcc a.cpp " C:\WINDOWS\Desktop>gcc a.cpp c:/djgpp/tmp\ccSSI7E3.o(.text+0x27):a.cpp: undefined reference to `cout' c:/djgpp/tmp\ccSSI7E3.o(.text+0x2c):a.cpp: undefined reference to `ostream::oper ator<<(char const *)' collect2: ld returned 1 exit status then i tried "gcc a.cpp -lstdcpp" C:\WINDOWS\Desktop>gcc a.cpp -lstdcpp c:/djgpp/bin/ld.exe: cannot open -lstdcpp: No such file or directory (ENOENT) collect2: ld returned 1 exit status