delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/28/10:59:06

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" <dave DOT korn AT artimi DOT com>
From: Lloyd Wood <L DOT Wood AT surrey DOT ac DOT uk>
Subject: RE: Geomview & Cygwin setup
Cc: <cygwin AT cygwin DOT com>
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
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

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/

- Raw text -


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