This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin64 install g++ v 4.6.4
- From: Csaba Raduly <rcsaba at gmail dot com>
- To: cygwin list <cygwin at cygwin dot com>
- Date: Thu, 29 May 2014 10:47:48 +0200
- Subject: Re: cygwin64 install g++ v 4.6.4
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20140529T061142-577 at post dot gmane dot org>
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