new Win98 install -- can't resolve std::cout

Christopher Faylor
Sat Jan 6 10:44:00 GMT 2001

On Sat, Jan 06, 2001 at 10:26:04AM -0800, Dave wrote:
>I apologize for such a basic question. I've installed binaries for gcc ports to
>Windows several times in past few years and I've always had the whole
>system come up easily.
>Yesterday I used the new setup.exe program to install all the packages on
>a Windows98 system. Installation went fine, bash came up quite happy.
>I tried a "hello world" program called test.cpp, which looks like this:
>>tango@TETONS /cygdrive/n/randy/qprofile
>>$ cat test.cpp
>>#include <iostream>
>>int main()
>>        std::cout << "Hello world!" << std::endl;
>Then I ran the command "gcc -ansi -v test.cpp" and got link errors. The screen
>dump looks like this (forgive the screen wrapping -- I copied-n-pasted this
>from the bash window):

Use 'g++' to link C++ programs.


Want to unsubscribe from this list?
Check out:

More information about the Cygwin mailing list