Date: Tue, 16 Jun 1998 09:16:15 +0300 (IDT) From: Eli Zaretskii To: Peter Mcleod cc: djgpp AT delorie DOT com Subject: Re: lgpp280b.zip incomplete? In-Reply-To: <199806152345.JAA10247@cspsun.prophecy-open.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 16 Jun 1998, Peter Mcleod wrote: > Shouldn't I have gotten the file lib/libiostr.a from the libraries > zip (lgpp280b.zip)? No. > To prevent an (undefined reference to 'cout') problem, I took the > advice from a much earlier mail to this list - that is, this liostr > appendage: > > gcc test.cc -otest.exe -liostr Wrong usage. In GCC 2.8.1, you should use -lstdcxx instead of -liostream. Or just use gxx instead of gcc, and then you don't have to add -lstdcxx. This is all in the docs.