www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/17/12:09:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <847781.93339.qm@web25508.mail.ukl.yahoo.com>
Date: Tue, 17 Nov 2009 17:08:00 +0000 (GMT)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: R: Chossing the 'active' gcc version
To: cygwin AT cygwin DOT com, John Cortell <john DOT cortell AT gmail DOT com>
In-Reply-To: <loom.20091117T173224-210@post.gmane.org>
MIME-Version: 1.0
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

-- Mar 17/11/09, John Cortell ha scritto:

> I installed cygwin with the
> development tools package and I got two versions of
> gcc (3.x and 4.x). In a cygwin shell, when I type 'gcc
> --version', I see that
> 3.x is the default. I also see that the mapping of the
> version-less commands to
> the 3.x version is done through a series of links.
>=20
> I've googled this to death and can't find an answer.
> There's got to be an easy
> way to switch over those links to refer to 4.x, no? Some
> script or tool that
> handles changing all the links?
>=20

man alternatives=20

for seeing current settings:
$/usr/sbin/alternatives --display gcc

Regards
Marco






--
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