From: "Maan M. Hamze" Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem compiling c++ program with djgpp v2.0 Date: 3 Jan 1997 04:53:48 GMT Organization: University of Texas at Austin Lines: 15 Message-ID: <01bbf931$b14937e0$20be5380@maan-m.-hamze> References: NNTP-Posting-Host: slip-110-32.ots.utexas.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Nebu John Mathai wrote in article ... > I wrote the following program (C++ as far as I can tell) and tried to > compile it with gcc.exe v2.0. > I saved the file as 1.cc and issued the command: gcc 1.cc > and got an error (listed under the program). Please use gxx or link with gcc using the c++ library, and everything should run fine. As you are doing now, you are not linking with the C++ library that comes with djgpp so you are getting all these error messages. Maan -- Maan M. Hamze mmhamze AT mail DOT utexas DOT edu http://leb.net/~mmhamze