SpiderMonkey Build配置错误“configure:error:你的C和C ++编译器不同......”

时间:2016-01-27 16:54:44

标签: firefox compiler-errors spidermonkey

命令:
... configure:3223: checking for windres configure: error: Your C and C++ compilers are different. You need to use the same compiler.

输出:
hamming(A, B) B[1] is different than A[1] and B[3] is different than A[3] => 2

gcc和g ++版本是4.9.3.Clang版本是3.6.0-2。

如何解决这个问题?谢谢!

1 个答案:

答案 0 :(得分:0)

通过链接解决" / usr / bin / c ++"来自" / etc / alternatives / c ++"到目前使用的g ++。