www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
From: | Peter M Lee <pml1 AT york DOT ac DOT uk> |
To: | cygwin AT cygwin DOT com |
Subject: | RE: iostream with gcc |
Date: | 25 Oct 2007 11:19:32 +0100 |
X-Mailer: | Prayer v1.0.18 |
In-Reply-To: | <007101c816ed$91bcd130$2e08a8c0@CAM.ARTIMI.COM> |
Message-ID: | <Prayer.1.0.18.0710251119320.15462@webmail0.york.ac.uk> |
References: | <Prayer DOT 1 DOT 0 DOT 18 DOT 0710251014170 DOT 2520 AT webmail0 DOT york DOT ac DOT uk> <006d01c816e8$b4ee9ee0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <Prayer DOT 1 DOT 0 DOT 18 DOT 0710251048470 DOT 15462 AT webmail0 DOT york DOT ac DOT uk> <007101c816ed$91bcd130$2e08a8c0 AT CAM DOT ARTIMI DOT COM> |
Mime-Version: | 1.0 |
X-York-MailScanner: | Found to be clean |
X-York-MailScanner-From: | pml1 AT york DOT ac DOT uk |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Thanks, and I will keep it to the list in future - Peter M Lee On Oct 25 2007, Dave Korn wrote: >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 > -- 00 O O o o... 0 ____ _______________ ______________________ _________________ ][_n_i_|( |_ | | | 6 Arncliffe Mews | | pml1 | ( _ | ||| | Peter M Lee | | Alma Terrace | | @york.ac.uk | _||_|___|_|||_|_____________|_|___York__YO10_4EL___|_|+44_1904_654200| o 0--0 o o o o-o o-o o o o +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |