delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/06/13:45:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 6 Jan 2001 13:45:16 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Cc: dave AT inkdrop DOT net
Subject: Re: new Win98 install -- can't resolve std::cout
Message-ID: <20010106134516.C14194@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, dave AT inkdrop DOT net
References: <004301c0780e$217ba340$73d363d8 AT aracnet DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <004301c0780e$217ba340$73d363d8@aracnet.com>; from dave@inkdrop.net on Sat, Jan 06, 2001 at 10:26:04AM -0800

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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019