This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.8 runtime compat on older machines




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

True indeed.

Thanks very much,

Chris

--
http://twitter.com/ghrd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]