I'm trying to compile a Haxe file into a cpp executable using hxcpp
as provided by running terminal command ~ 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
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