Today we came a cross one of the software needed to be compiled on RHEL6. I have installed all the dependencies then started the process. it threw an error :
cc1plus: error: unrecognized command line option "-std=c++11"
it turned out to be that RHEL6 comes by default with g++4.4 and it need 4.7+ to do the compilation.
What I did is, I installed the devtoolset-7 then I swiched to
scl enable devtoolset-7 'bash'
Then compiled the sofware and installed it.
Up to till now the application is working as expected, however my question is that safe to go to production or there are some other ways to do such job.
Thank in advance
A collaborative learning environment, enabling open source skill development.