This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: iostreams won't work
- To: donut at azstarnet dot com
- Subject: Re: iostreams won't work
- From: "Kent E. Holsinger" <kent at darwin dot eeb dot uconn dot edu>
- Date: Thu, 24 Apr 97 18:06:22 EDT
- Cc: gnu-win32 at cygnus dot com
- Reply-To: kent at darwin dot eeb dot uconn dot edu
>>>>> "Matthew" == Matthew Mueller <donut@azstarnet.com> writes:
Matthew> I get this error:
Matthew> f:\prog\c32>gcc test.cpp
Matthew> C:\WIN95\TEMP/cc0010001.o(.text+0x1a):test.cc: undefined
Matthew> reference to `cout'
Matthew> C:\WIN95\TEMP/cc0010001.o(.text+0x1f):test.cc: undefined
Matthew> reference to `ostream:: operator<<(char const *)'
Matthew> C:\WIN95\TEMP/cc0010001.o(.text+0x60):test.cc: undefined
Matthew> reference to `cout'
Matthew> C:\WIN95\TEMP/cc0010001.o(.text+0x65):test.cc: undefined
Matthew> reference to `ostream:: operator<<(char const *)'
gcc test.cpp -lstdc++
will link in the standard C++ library.
-- Kent
--
Kent E. Holsinger Kent@Darwin.EEB.UConn.Edu
http://darwin.eeb.uconn.edu
-- Department of Ecology & Evolutionary Biology
-- University of Connecticut, U-43
-- Storrs, CT 06269-3043
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".