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
RHEL6 system.
Alternatively, is there a clean
way to install gcc 4.8 on RHEL6/OL6?
Yes, you can use the Developer Toolset:
https://access.redhat.com/documentation/en/red-hat-developer-toolset/
Or just build your own GCC on RHEL6.