[英]cc1plus: error: unrecognized command line option “-stdlib=libstdc++” with hxcpp
I'm trying to compile a Haxe file into a cpp executable using hxcpp
as provided by running terminal command ~ haxelib Install hxcpp
我尝试编译HAXE文件转换成使用CPP可执行
hxcpp
通过运行终端命令提供~ haxelib Install hxcpp
However, upon compilation I get this error 但是,编译后出现此错误
cc1plus: error: unrecognized command line option "-stdlib=libstdc++"
I know cc1plus is the actual compiler for the g++ driver so I have provided my version info 我知道cc1plus是g ++驱动程序的实际编译器,所以我提供了我的版本信息
g++ --version g ++ --version
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.`
I am running MacOsX 10.7.5 我正在运行MacOsX 10.7.5
更新到g ++ 5.0.0,一切正常
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.