Date: Mon, 24 May 1999 12:22:12 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Vladimir Mosgalin cc: djgpp AT delorie DOT com Subject: Re: Cannot link C++ program In-Reply-To: <199905240815.MAA15009@ape.school.ioffe.rssi.ru> 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 Mon, 24 May 1999, Vladimir Mosgalin wrote: > "gcc test.o -lgpp -lstdcxx -O" > or "gxx test.o -lgpp -lstdcxx -O" doesn't work. Perhaps because the linker doesn't find the libraries? Is there some message about -lstdcxx not being found buried among the other errors? Another possibility is that you have a stale version of libstdcxx.a, where iostream classes are not included. You didn't say what version are you using, so I cannot be sure if that's the case. If you cannot figure it out, please post here the complete output of the compiler, and add -v to the command line when you produce that output. (In general, it is a good idea to post the messages right when you first report the problem, since it is next to impossible to help you without seeing the exact error messages.)