繁体   English   中英

cc1plus:错误:hxcpp无法识别的命令行选项“ -stdlib = libstdc ++”

[英]cc1plus: error: unrecognized command line option “-stdlib=libstdc++” with hxcpp

我尝试编译HAXE文件转换成使用CPP可执行hxcpp通过运行终端命令提供~ haxelib Install hxcpp

但是,编译后出现此错误

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

更新到g ++ 5.0.0,一切正常

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM