SpiderMonkey Build Configure Error “configure: error: Your C and C++ compilers are different…”

烈酒焚心 提交于 2019-12-25 14:23:26

问题


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

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

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

How to solve this issue? Thanks!


回答1:


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



来源:https://stackoverflow.com/questions/35043415/spidermonkey-build-configure-error-configure-error-your-c-and-c-compilers-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!