delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/03/14:48:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,DNS_FROM_OPENWHOIS
X-Spam-Check-By: sourceware.org
Date: Tue, 3 Mar 2009 11:48:19 -0800
From: Lester Ingber <ingber AT ingber DOT com>
To: cygwin AT cygwin DOT com
Subject: how to update /etc/alternatives
Message-ID: <20090303194819.GA4536@ingber.com>
MIME-Version: 1.0
User-Agent: Mutt/1.5.15 (2007-04-06)
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

The default for many files under /bin is linked to /etc/alternatives.
I wanted to update by default gcc and g++ to v4, so instead of
changing the .exe links in /bin, I wanted to have these changes made
in /etc/alternatives.

Instead of doing this one file at a time, I tried re-installing all
gcc/g++-4 packages, but all the gcc/g++ stuff under /etc/alternatives
still points to v3?

I just manually changed the gcc and g++ under /etc/alternatives to point
to v4, but shouldn't this have been done automatically when I reinstalled
all these packages?

Lester


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