X-Spam-Check-By: sourceware.org Message-Id: <7.0.1.0.0.20060428155527.059c4008@surrey.ac.uk> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Fri, 28 Apr 2006 15:58:50 +0100 To: "Dave Korn" From: Lloyd Wood Subject: RE: Geomview & Cygwin setup Cc: In-Reply-To: <008c01c66ace$7efa54e0$a501a8c0@CAM.ARTIMI.COM> References: <7 DOT 0 DOT 1 DOT 0 DOT 0 DOT 20060428143849 DOT 0598ed78 AT surrey DOT ac DOT uk> <008c01c66ace$7efa54e0$a501a8c0 AT CAM DOT ARTIMI DOT COM> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com At Friday 2006-04-28 15:17 +0100, Dave Korn wrote: > > __CYGWIN__ is defined for gcc; gcc -v should report 'cygwin special'. > > I do not recommend changing the environment to __CYGMING__ to match > > in a further attempt at humour. > > > > If you want people to use the information you provide rationally, do > > not colour that information with irrational attempts at humour to > > provide misinformation that causes doubt. > > > > We need to trust the output of gcc -v. > > No, this is completely wrong and absolutely not what you want to do. The >output of "gcc -v" is a human-readable summary of various internal information >which can be obtained by more reliable means for programmatic use. Your >attempt to indirectly deduce the same info from a freeform text string >presupposes many assumptions that simply do not hold, and therefore is doomed >to incorrectness. In that case, gcc -v may as well return an empty string, since, as you say, it's always going to be wrong, and because obviously even humans have trouble parsing its output. L. -- 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/