Compiling NodeJS for PPC Architecture

Viewed 289

I am trying to compile NodeJS for PPC architecture but It fails with "cc1plus: error: unrecognized command line option -std=gnu++0x". From analysis I infer my Executable didn't support c++0x standard for compilation.Kindly suggest any other alternative way that i can use to compile Nodejs.

1 Answers

It looks like your compiler predates the C++11 standards (-std=gnu++0x is an alias for std=gnu++11). From gcc's c++ version status page:

GCC 4.8.1 was the first feature-complete implementation of the 2011 C++ standard, previously known as C++0x.

Can you use a newer compiler that supports the C++ standard required by nodejs?

Related