gpt4 book ai didi

node.js - 为 PPC 架构编译 NodeJS

转载 作者:太空宇宙 更新时间:2023-11-03 22:22:06 25 4
gpt4 key购买 nike

我正在尝试为 PPC 架构编译 NodeJS,但失败并显示“cc1plus:错误:无法识别的命令行选项 -std=gnu++0x”。通过分析,我推断我的可执行文件不支持 c++0x 标准编译。请建议我可以用来编译 Nodejs 的任何其他替代方法。

最佳答案

看起来您的编译器早于 C++11 标准(-std=gnu++0xstd=gnu++11 的别名)。来自 gcc 的 c++ version status页面:

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

可以使用支持nodejs所需的C++标准的较新编译器吗?

关于node.js - 为 PPC 架构编译 NodeJS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53275419/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com