delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/29/18:51:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AC292D2.4060208@gmail.com>
Date: Wed, 30 Sep 2009 00:05:54 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] Updated: stable compiler package gcc4-4.3.4-1
References: <4AC19EFC DOT 7000600 AT gmail DOT com> <806a89db0909291459x606cb34fn18c22d3719f814d AT mail DOT gmail DOT com>
In-Reply-To: <806a89db0909291459x606cb34fn18c22d3719f814d@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Jim Reisert AD1C wrote:
> This version works OK in a cygwin shell, but not in a  Windows command
> prompt, because gcc.exe is a symbolic link.

  Indeed.  Use gcc-3 or gcc-4 explicitly from a windows shell (or even use
'bash "-c gcc ... "' to chase the link).  There's no one answer that would
suit everyone, but making it a symlink controlled by alternatives mean it can
at least be made to suit everyone who's invoking it from within a cygwin
environment.

    cheers,
      DaveK

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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