我正在尝试使用运行终端命令hxcpp
~ haxelib Install hxcpp
将Haxe文件编译为cpp可执行文件
然而,在编译时我收到此错误
cc1plus: error: unrecognized command line option "-stdlib=libstdc++"
我知道cc1plus是g ++驱动程序的实际编译器,所以我提供了我的版本信息
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.`
我正在运行MacOsX 10.7.5
答案 0 :(得分:0)
更新到g ++ 5.0.0,一切正常