This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Can't link iostream library
That was it. Thanks very much.
--
--
Virtually,
Tim Beauchamp
timb@googol.com
Matthew Majka <mmajka@cs5.dasd.honeywell.com> wrote in message
Pine.SGI.4.02.9911221517001.96082-100000@schuylkill.dasd.honeywell.com">news:Pine.SGI.4.02.9911221517001.96082-100000@schuylkill.dasd.honeywell.com.
..
> 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++
> %
>