This is the mail archive of the
mailing list for the libstdc++ project.
Re: gcc 4.8 runtime compat on older machines
- From: Christopher Jones <christopher dot jones at oracle dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, Paolo Carlini <paolo dot carlini at oracle dot com>, Jonathan Wakely <jwakely at redhat dot com>, Krishna Mohan IV <krishna dot mohan at oracle dot com>
- Date: Thu, 22 Oct 2015 06:13:40 +1100
- Subject: Re: gcc 4.8 runtime compat on older machines
- Authentication-results: sourceware.org; auth=none
- References: <5627D079 dot 9010500 at oracle dot com> <CAH6eHdT0j8wjhFe8yOjL9Kc-JQW4ovFPVj1Q-tVQymNfhRDoCQ at mail dot gmail dot com>
On 22/10/2015 5:47 am, Jonathan Wakely wrote:
On 21 October 2015 at 18:50, Christopher Jones wrote:
I'm working on a C++ project that uses third party code needing a C++
11 compatible compiler. We can use RHEL7 / Oracle Linux 7 with gcc
4.8.2 to build, but not RHEL 6 / Oracle Linux 6 which has gcc 4.4. If
users want to run an RHEL7/OL7-built executable on RHEL6/OL6, is there
any compat package that can be used?
No, you would need (at least) newer glibc and libstdc++ DSOs on the
Alternatively, is there a clean
way to install gcc 4.8 on RHEL6/OL6?
Yes, you can use the Developer Toolset:
Or just build your own GCC on RHEL6.
Thanks very much,