Compiling NodeJS for PPC Architecture
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.
node.js ppc
add a comment |
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.
node.js ppc
1
Hi! We may need a few more details in order to answer your question. Can you include the steps you took to get this error? And the versions of NodeJS, and the build tools that you're using?
– Jeremy Kerr
Nov 13 at 8:31
Hai Jeremy, We have exported the CC and CXX variable with our own GCC(version 3.4.3) and G++ (version 3.4.3) compilers and trying to build the NodeJS. NodeJS version : v8.11.3(We have tried in 4.x also)
– kaarthii
Nov 13 at 9:31
add a comment |
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.
node.js ppc
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.
node.js ppc
node.js ppc
edited Nov 13 at 7:00
asked Nov 13 at 6:56
kaarthii
163
163
1
Hi! We may need a few more details in order to answer your question. Can you include the steps you took to get this error? And the versions of NodeJS, and the build tools that you're using?
– Jeremy Kerr
Nov 13 at 8:31
Hai Jeremy, We have exported the CC and CXX variable with our own GCC(version 3.4.3) and G++ (version 3.4.3) compilers and trying to build the NodeJS. NodeJS version : v8.11.3(We have tried in 4.x also)
– kaarthii
Nov 13 at 9:31
add a comment |
1
Hi! We may need a few more details in order to answer your question. Can you include the steps you took to get this error? And the versions of NodeJS, and the build tools that you're using?
– Jeremy Kerr
Nov 13 at 8:31
Hai Jeremy, We have exported the CC and CXX variable with our own GCC(version 3.4.3) and G++ (version 3.4.3) compilers and trying to build the NodeJS. NodeJS version : v8.11.3(We have tried in 4.x also)
– kaarthii
Nov 13 at 9:31
1
1
Hi! We may need a few more details in order to answer your question. Can you include the steps you took to get this error? And the versions of NodeJS, and the build tools that you're using?
– Jeremy Kerr
Nov 13 at 8:31
Hi! We may need a few more details in order to answer your question. Can you include the steps you took to get this error? And the versions of NodeJS, and the build tools that you're using?
– Jeremy Kerr
Nov 13 at 8:31
Hai Jeremy, We have exported the CC and CXX variable with our own GCC(version 3.4.3) and G++ (version 3.4.3) compilers and trying to build the NodeJS. NodeJS version : v8.11.3(We have tried in 4.x also)
– kaarthii
Nov 13 at 9:31
Hai Jeremy, We have exported the CC and CXX variable with our own GCC(version 3.4.3) and G++ (version 3.4.3) compilers and trying to build the NodeJS. NodeJS version : v8.11.3(We have tried in 4.x also)
– kaarthii
Nov 13 at 9:31
add a comment |
1 Answer
1
active
oldest
votes
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?
Hai Jeremy, Thanks for your support. Based on our discussion with corresponding team the upgradation of C/C++ is not possible now. So we are searching for C/C++ binaries for PPC 32 bit, so that we can build with those binaries.Kindly suggest any other alternatives if you know.Thanks.
– kaarthii
Nov 15 at 6:53
By "upgradation of C/C++ is not possible", do you mean you can't update the language standards version of an existing codebase? Or that you're not willing to use a new version of the compiler? Keep in mind that new compilers will still support older C/C++ standards.
– Jeremy Kerr
Nov 15 at 7:26
Hi Jeremy ,At the moment we are not able to update the new version of the compiler. Because PPC is not widely used here.So the team considering this request as low priority.
– kaarthii
Nov 16 at 6:54
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53275419%2fcompiling-nodejs-for-ppc-architecture%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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?
Hai Jeremy, Thanks for your support. Based on our discussion with corresponding team the upgradation of C/C++ is not possible now. So we are searching for C/C++ binaries for PPC 32 bit, so that we can build with those binaries.Kindly suggest any other alternatives if you know.Thanks.
– kaarthii
Nov 15 at 6:53
By "upgradation of C/C++ is not possible", do you mean you can't update the language standards version of an existing codebase? Or that you're not willing to use a new version of the compiler? Keep in mind that new compilers will still support older C/C++ standards.
– Jeremy Kerr
Nov 15 at 7:26
Hi Jeremy ,At the moment we are not able to update the new version of the compiler. Because PPC is not widely used here.So the team considering this request as low priority.
– kaarthii
Nov 16 at 6:54
add a comment |
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?
Hai Jeremy, Thanks for your support. Based on our discussion with corresponding team the upgradation of C/C++ is not possible now. So we are searching for C/C++ binaries for PPC 32 bit, so that we can build with those binaries.Kindly suggest any other alternatives if you know.Thanks.
– kaarthii
Nov 15 at 6:53
By "upgradation of C/C++ is not possible", do you mean you can't update the language standards version of an existing codebase? Or that you're not willing to use a new version of the compiler? Keep in mind that new compilers will still support older C/C++ standards.
– Jeremy Kerr
Nov 15 at 7:26
Hi Jeremy ,At the moment we are not able to update the new version of the compiler. Because PPC is not widely used here.So the team considering this request as low priority.
– kaarthii
Nov 16 at 6:54
add a comment |
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?
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?
answered Nov 14 at 0:03
Jeremy Kerr
1,557920
1,557920
Hai Jeremy, Thanks for your support. Based on our discussion with corresponding team the upgradation of C/C++ is not possible now. So we are searching for C/C++ binaries for PPC 32 bit, so that we can build with those binaries.Kindly suggest any other alternatives if you know.Thanks.
– kaarthii
Nov 15 at 6:53
By "upgradation of C/C++ is not possible", do you mean you can't update the language standards version of an existing codebase? Or that you're not willing to use a new version of the compiler? Keep in mind that new compilers will still support older C/C++ standards.
– Jeremy Kerr
Nov 15 at 7:26
Hi Jeremy ,At the moment we are not able to update the new version of the compiler. Because PPC is not widely used here.So the team considering this request as low priority.
– kaarthii
Nov 16 at 6:54
add a comment |
Hai Jeremy, Thanks for your support. Based on our discussion with corresponding team the upgradation of C/C++ is not possible now. So we are searching for C/C++ binaries for PPC 32 bit, so that we can build with those binaries.Kindly suggest any other alternatives if you know.Thanks.
– kaarthii
Nov 15 at 6:53
By "upgradation of C/C++ is not possible", do you mean you can't update the language standards version of an existing codebase? Or that you're not willing to use a new version of the compiler? Keep in mind that new compilers will still support older C/C++ standards.
– Jeremy Kerr
Nov 15 at 7:26
Hi Jeremy ,At the moment we are not able to update the new version of the compiler. Because PPC is not widely used here.So the team considering this request as low priority.
– kaarthii
Nov 16 at 6:54
Hai Jeremy, Thanks for your support. Based on our discussion with corresponding team the upgradation of C/C++ is not possible now. So we are searching for C/C++ binaries for PPC 32 bit, so that we can build with those binaries.Kindly suggest any other alternatives if you know.Thanks.
– kaarthii
Nov 15 at 6:53
Hai Jeremy, Thanks for your support. Based on our discussion with corresponding team the upgradation of C/C++ is not possible now. So we are searching for C/C++ binaries for PPC 32 bit, so that we can build with those binaries.Kindly suggest any other alternatives if you know.Thanks.
– kaarthii
Nov 15 at 6:53
By "upgradation of C/C++ is not possible", do you mean you can't update the language standards version of an existing codebase? Or that you're not willing to use a new version of the compiler? Keep in mind that new compilers will still support older C/C++ standards.
– Jeremy Kerr
Nov 15 at 7:26
By "upgradation of C/C++ is not possible", do you mean you can't update the language standards version of an existing codebase? Or that you're not willing to use a new version of the compiler? Keep in mind that new compilers will still support older C/C++ standards.
– Jeremy Kerr
Nov 15 at 7:26
Hi Jeremy ,At the moment we are not able to update the new version of the compiler. Because PPC is not widely used here.So the team considering this request as low priority.
– kaarthii
Nov 16 at 6:54
Hi Jeremy ,At the moment we are not able to update the new version of the compiler. Because PPC is not widely used here.So the team considering this request as low priority.
– kaarthii
Nov 16 at 6:54
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53275419%2fcompiling-nodejs-for-ppc-architecture%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Hi! We may need a few more details in order to answer your question. Can you include the steps you took to get this error? And the versions of NodeJS, and the build tools that you're using?
– Jeremy Kerr
Nov 13 at 8:31
Hai Jeremy, We have exported the CC and CXX variable with our own GCC(version 3.4.3) and G++ (version 3.4.3) compilers and trying to build the NodeJS. NodeJS version : v8.11.3(We have tried in 4.x also)
– kaarthii
Nov 13 at 9:31