X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=hs1ULXfFoDMFgcue mes7WCAp0499CFxJRXIuSzJHzEIDcT0/O2xhrp/D+/TYX79fK7jZNGrd1CD9S5ZT MtugamSoi9xffpS/UWbS+gpcrUnxlO5kL2mA9K9rw+RE7VcrVclMiOCSENo1v0mn CvHNEPuMhW1/P1u939zVzJ7Cr0Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=tfzs0oq2ANXvviRkvpeInx WfSa0=; b=xGMsdgsPS+6HrS/8RjdTwgt6PJRCo5Gohik42V+VZuZnhJKXGK7wE6 3wtbIcVzsPOlTqx3H3pBsBmjpZs+anpp6nfZYpJ1rQRTn9W//24dfT6qgtg7bcOb AylC2piWUHhzJg6WetzYmaopZRIx0qW23P95Ow2ERBBVJn+U09QB0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Subject: Re: gcc / gfortran 5.x To: cygwin AT cygwin DOT com References: From: LMH Message-ID: <038a3376-cdd4-6f4e-ded8-7ea65fdb75bd@molconn.com> Date: Mon, 27 Nov 2017 15:11:19 -0500 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 AT molconn DOT com X-IsSubscribed: yes 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