X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Reply-To: <cygwin@cygwin.com>
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Cc: "'Peter M Lee'" <pml1@york.ac.uk>
References: <Prayer.1.0.18.0710251014170.2520@webmail0.york.ac.uk> <006d01c816e8$b4ee9ee0$2e08a8c0@CAM.ARTIMI.COM> <Prayer.1.0.18.0710251048470.15462@webmail0.york.ac.uk>
Subject: RE: iostream with gcc
Date: Thu, 25 Oct 2007 10:58:17 +0100
Message-ID: <007101c816ed$91bcd130$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <Prayer.1.0.18.0710251048470.15462@webmail0.york.ac.uk>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 25 October 2007 10:49, Peter M Lee wrote:

  Please keep it on the list, Peter.  http://cygwin.com/acronyms#PPIOSPE
explains why that's a good thing.  Re-directed.

> The result of using g++ is
> 
> $ g++ hello.cc
> 
> $
> 
> in other words nothing is output to the terminal - Peter M Lee

  That isn't any old nothing, that's specifically a "no error message" kind of
nothing.  Nothing was output to the terminal, but a file called 'a.exe' was
output to the current directory.

  Type "echo $?" to see the exit status of the gcc command:

/artimi/chips/earn/block/rom $ g++ hello.cc
/artimi/chips/earn/block/rom $ echo $?
0
/artimi/chips/earn/block/rom $ ./a.exe
Hello, world
/artimi/chips/earn/block/rom $


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

