This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Can't link iostream library
- To: help-gcc at gnu dot org
- Subject: Re: Can't link iostream library
- From: Matthew Majka <mmajka at cs5 dot dasd dot honeywell dot com>
- Date: Mon, 22 Nov 1999 15:18:19 -0700
- Newsgroups: gnu.gcc.help
- Organization: Verio
- References: <81cbj2$osr$1@ffx2nh4.news.uu.net>
- Xref: wodc7nx0 gnu.gcc.help:1927
On Mon, 22 Nov 1999, Tim Beauchamp wrote:
> #include<iostream.h>
>
> void main()
> {
> cout << "Hello World\n";
> }
>
> When I compile, I get unresolved externals for the cout and <<
% gcc hello.c++ -o hello++ -lstdc++
%