inpressing / xbt

Automatically exported from code.google.com/p/xbt
0 stars 0 forks source link

CentOS 5.6: cc1plus: error: unrecognized command line option "-std=c++0x" #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
CentOS 5.6
xbt: r2269

./make.sh
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"

solution:
yum update
yum remove gcc*
yum install gcc44*
ln -s /usr/bin/g++44 /usr/bin/g++
ln -s /usr/bin/gcc44 /usr/bin/gcc

Good luck :)

Original issue reported on code.google.com by M.Sergi...@gmail.com on 22 Apr 2012 at 4:37

GoogleCodeExporter commented 9 years ago
Your compiler was too old. 

Original comment by olafvdspek on 22 Apr 2012 at 4:10