This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]