本文介绍了SpiderMonkey Build配置错误“配置:错误:您的C和C ++编译器不同..."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

命令:
mozjs-38.0.0/js/src/build_DBG.OBJ$ ../configure --enable-debug --disable-optimize

输出:
...configure:3223: checking for windresconfigure: error: Your C and C++ compilers are different. You need to use the same compiler.

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

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

The gcc and g++ version is 4.9.3.Clang version is 3.6.0-2.

如何解决此问题?谢谢!

How to solve this issue? Thanks!

推荐答案

由"/etc/alternatives/c ++"到当前使用的g ++的链接"/usr/bin/c ++"解决.

Resolved by link "/usr/bin/c++" from "/etc/alternatives/c++" to the currently used g++.

这篇关于SpiderMonkey Build配置错误“配置:错误:您的C和C ++编译器不同..."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 15:44