From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63825 invoked by alias); 27 Nov 2017 20:11:35 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 63811 invoked by uid 89); 27 Nov 2017 20:11:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KB_WAM_FROM_NAME_SINGLEWORD autolearn=no version=3.3.2 spammy=H*u:5.1, hans, 5x, backup X-HELO: ecbiz204.inmotionhosting.com Received: from ecbiz204.inmotionhosting.com (HELO ecbiz204.inmotionhosting.com) (144.208.76.59) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 Nov 2017 20:11:33 +0000 Received: from [24.218.73.130] (port=13164 helo=[192.168.10.27]) by ecbiz204.inmotionhosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eJPkU-003QVD-Os for cygwin@cygwin.com; Mon, 27 Nov 2017 15:11:32 -0500 Subject: Re: gcc / gfortran 5.x To: cygwin@cygwin.com References: From: LMH Message-ID: <038a3376-cdd4-6f4e-ded8-7ea65fdb75bd@molconn.com> Date: Mon, 27 Nov 2017 20:11:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-Get-Message-Sender-Via: ecbiz204.inmotionhosting.com: authenticated_id: molconn_admin-2016@molconn.com X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00262.txt.bz2 Hans Horn wrote: > Group, > > I noticed that cywgin's gcc/gfortran has moved whole sale to gcc 6.4. > How can I get the latest release of the 5.x branch (32 and 64bit) back? > I'm trying to build a legacy suite of programs that I know builds under 5.x, but > fails miserably under 6.4. > > Thanks, > H. > > > -- > 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 > > I keep older cygwin installations around to support code that won't compiler on newer compilers and doesn't use any newer language features. This code often isn't worth the expenditure to bring up to date. As long as the compiled binaries still run on current systems, the code won't get updated unless the update is a minor fix. You can have as many cygwin installations on your system as you want, just name the root folder and install folder something different for each one. There are potential problems if you try to run more than one version at the same time. I have had different answers on this but I don't do it in case there may be problems that aren't evident. I start the older cygwin terminals using a .bat file that configures the /cygwin/bin PATH environment variable for the version of cygwin I are running. The .bat file looks like, @echo off :: remove "C:\cygwin\bin" from PATH set "PATH=;%PATH%;" set "PATH=%PATH:;;=;%" set "PATH=;%PATH:;C:\cygwin\bin;=;%;" set "PATH=%PATH:;;=%" :: create a local environment variable for the alternate cygwin version (cygwin2) set "PATH=C:\cygwin2\bin;%PATH%" start "" /b C:\cygwin2\bin\mintty.exe -i /Cygwin-Terminal.ico - I leave this .bat file in the install directory for the alternate cygwin and have a shortcut on my desktop that runs the bat file. When I want to start an alternate version of cygwin, I just click on the icon I want. I also have modified the terminal settings so that the background color of the bash window is different for each version I have installed. That reminds me of what version of cygwin I am in. If this is something you really need, like everything else, keep a backup copy of the cygwin root directory and install directory. The time machine site has worked for me in the past, but it was very slow. You probably will want to download using wget and be prepared to leave going it all day. LMH -- 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