delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/17/13:02:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 17 Sep 2003 13:02:09 EDT
To: cygwin AT cygwin DOT com
Subject: Re: g++ iostream broken on windows 2000
Message-Id: <VA.00000e69.00588e37@thesoftwaresource.com>
In-Reply-To: <1063753054.759.4.camel@localhost>
References: <20030915234312 DOT 66294 DOT qmail AT web40708 DOT mail DOT yahoo DOT com> <bk618f$pic$1 AT sea DOT gmane DOT org> <VA DOT 00000e68 DOT 00c54369 AT thesoftwaresource DOT com> <1063753054 DOT 759 DOT 4 DOT camel AT localhost>
From: Brian Keener <bkeenerReMoVeAnTiSpAm AT thesoftwaresource DOT com>
Reply-To: Brian Keener <bkeenerReMoVeAnTiSpAm AT thesoftwaresource DOT com>

Robert Collins wrote:
> > /usr/develop/src/learning
> > $ gcc -g -o ./debug/first.exe ./first.cpp
> 
> g++ !
> 
> Oh, and in your output, get rid of the \n, use 
> cout << "foo" << endl;
>

Thanks Rob,

That was sort of a duh wasn't it.  I guess I need some more reading - gcc shows 
in man as the GNU C and C++ compiler and if I do a man g++ I get the manual for 
gcc or if I do man "g++".  Thought that was the right one - even though I have 
seen both.

Off to the books.

bk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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