delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/15/02:19:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48CDFE5B.777A1567@dessent.net>
Date: Sun, 14 Sep 2008 23:19:07 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated experimental package: gcc4-4.3.2-1
References: <48CD8D8A DOT 2050900 AT alice DOT it>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT 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

Angelo Graziosi wrote:

> But: Why 'alternatives'?

Because it allows for the user to configure a preference rather than
ramming it down their throat.

> Why, in Cygwin, we can't have gcc.exe (i.e 4.3.2) and gcc-3.4.exe, etc...

That's exactly what you would get when using alternatives.  You would
always be able to use the names gcc-4.3 and gcc-3.4 if you want to refer
to a specific version.  But you would also be able to configure what the
plain "gcc" maps to, so you can have yours set to 4.3 and someone else
can have it set to something else, so that they don't have to repeatedly
"./configure CC=the-other-gcc" because they wanted a different version
than what the package manager decided to call "gcc".

Brian

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