delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/28/13:04:20

X-Spam-Check-By: sourceware.org
Message-Id: <7.0.1.0.0.20060428175532.05696608@surrey.ac.uk>
X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0
Date: Fri, 28 Apr 2006 18:04:03 +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: <000401c66ae3$0d4c6a30$a501a8c0@CAM.ARTIMI.COM>
References: <7 DOT 0 DOT 1 DOT 0 DOT 0 DOT 20060428165427 DOT 059e7e88 AT surrey DOT ac DOT uk> <000401c66ae3$0d4c6a30$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 17:44 +0100, Dave Korn wrote:
>On 28 April 2006 17:07, Lloyd Wood wrote:
>
> > At Friday 2006-04-28 11:45 -0400, Williams, Gerald S \(Jerry\) wrote:
> >> If you need to find out what gcc is targeting, perhaps you should use
> >> "-dumpmachine" instead.
> >>
> >>  $ gcc -dumpmachine
> >>  i686-pc-cygwin
> >>  $ gcc -dumpmachine -mno-cygwin
> >>  i686-pc-mingw32
> >
> > Having identification behaviour dependent on a cygwin-specific flag
> > like this is.. insane.
>
>   When you use -mno-cygwin, you are invoking A DIFFERENT 
> compiler.  Having the
>*same* identification for two different compilers that target different
>targets would be insane.

But gee, that's exactly what gcc -v provides. A single identification 
for both compilers.

Why isn't there a gcc -v -mno-cygwin, then?

It's all positively minging. (Chris: note the usage tip. First g 
pronounced as j, so it's unlike any Chinese dynasties or Flash 
Gordon's nemesis.)

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