delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/29/04:48:12

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=xS
8zwNN3axYuqjx1j2cF0JBLmM/diCF4fQC3dE2E1WuIlMt3imssUpO0K0xFAST7gE
7B7+vHNTBdLyirME+E7Fde4KcBv/ScF/OSUBt3wueBCPojgZ6BSne6qyWxaSk0a1
DLUG00T56RFVPXJoZl5ifPV3iewz19n0H/cqkQIRo=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=IUBa+wY9
5d/222wrijxXYNhRb8U=; b=QPcN88Mml/iwAmv4ISODFwTmycuC8IdaGo4hwkaf
91G/0jwSZOdRvfgvAc6bAiznnuLL1UeBupGbSP/0x554XxF4PJ0HPyfG5gaGk+hU
GhwWqMy7V4+aNkfnh1VXrxvOPGLKGLwYU94t2UrM8e1GSqd9c0BTmhEjQ/Hw4Jhj
BOg=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-we0-f173.google.com
MIME-Version: 1.0
X-Received: by 10.194.7.232 with SMTP id m8mr8242375wja.47.1401353268886; Thu, 29 May 2014 01:47:48 -0700 (PDT)
In-Reply-To: <loom.20140529T061142-577@post.gmane.org>
References: <loom DOT 20140529T061142-577 AT post DOT gmane DOT org>
Date: Thu, 29 May 2014 10:47:48 +0200
Message-ID: <CAEhDDbAaGMaekMfWccapvhOqr4xCoidVL8YXP1BWtS=qRoSUwQ@mail.gmail.com>
Subject: Re: cygwin64 install g++ v 4.6.4
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin list <cygwin AT cygwin DOT com>

Hi Philapol,

On Thu, May 29, 2014 at 6:19 AM, Philapol  wrote:
> Hi,
> I would like to install g++ v 4.6.4 under cygwin64 but only v 4.8.2 is
> available. What is the procedure to install this older version?
>
> Note: I have a large (~500K loc) C++ project that builds under Ubuntu 12.04
> LTS / g++ 4.6.4; however, it will not build under cygwin64 using g++ v 4.8.2.

What was the error message?

Have you tried building it with g++ 4.8.2 under Ubuntu 12.04?
There are PPAs for it
(http://ubuntuhandbook.org/index.php/2013/08/install-gcc-4-8-via-ppa-in-ubuntu-12-04-13-04/,
http://askubuntu.com/questions/271388/how-to-install-gcc-4-8-in-ubuntu-12-04-from-the-terminal)
or you could build a gcc 4.8.2 from source.

There's a possibility that g++4.8.2 is stricter than g++4.6.4 and your
code won't build with g++4.8.2 on any platform, in which case the
Right Thing (tm) is to correct the errors in your project.

I'm typing this on an Ubuntu LTS 12.04 so I can't check what the
previous version of GCC is on Cygwin, but it's probably some other
4.8.x so choosing "previous" in Cygwin's setup.exe probably won't
help.

Your options include building a GCC 4.6.4 from source or the Cygwin
Time Machine ( http://www.fruitbat.org/Cygwin/ )

HTH,
Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019