www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/03/09:38:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <f79359b60812030638r7516868dn1524aae80d31b429@mail.gmail.com>
Date: Wed, 3 Dec 2008 09:38:14 -0500
From: "Gustavo Seabra" <gustavo DOT seabra AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: gcc4/gfortran
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-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

Hi All,

I recently made a fresh new Cygwin installation. I asked for the full
installation of the "devel" category to be installed, which resulted
in both gcc and gcc4 to be installed. (BTW, great work with gcc4
package, thanks a lot!!!)

I wonder:

1. Is is safe to remove the old gcc (3.*) packages and replace them by
symlinks to the new gcc4 executables?

2. In this case, which executables should I point the symlink to? For
instance, if I were to replace g77 by a symlink to gfortran, which of
the 4 gfortran executables should I use:

    $ locate gfortran | grep exe
    /bin/gfortran-4.exe
    /bin/i686-pc-cygwin-gfortran-4.exe
    /usr/bin/gfortran-4.exe
    /usr/bin/i686-pc-cygwin-gfortran-4.exe

3. Lastly, just a dumb question: why do we get multiple executables in
the first place? I noticed that g77 also comes in multiple files:
    $ locate g77 | grep exe
    /bin/g77.exe
    /usr/bin/g77.exe

Is that really necessary?

Thanks a lot,
-- 
Gustavo Seabra
Postdoctoral Associate
Quantum Theory Project - University of Florida
Gainesville - Florida - USA

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