Mail Archives: djgpp/1998/06/16/02:17:32
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.
- Raw text -