| Issue 125: | Build tool doesn't work with OS X 10.5 | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Mac OS X 10.5 comes with g++ 4.0.1 which apparently doesn't support including a file with "@" in the command-line. Every time I try to build something with the build tool, I get the following error: i686-apple-darwin9-g++-4.0.1: @all_objs: No such file or directory It's actually trying to locate a file name called "@all_objs". I can't update to newer g++ version without updating the os to OS X 10.6 .
Jul 9, 2011
Hugh, really thanks for the quick fix! But I seem to still have the same problem. I've created the ~/.hxcpp_config.xml file and added the NO_PRECOMPILED_HEADERS var to it, as you described above. When I'm trying to build it, I still get the same error: g++ -o ../bin/Mac/std.dylib -fpic -fPIC -dynamiclib -m32 -framework Cocoa -fvisibility=hidden @all_objs i686-apple-darwin9-g++-4.0.1: @all_objs: No such file or directory I've made sure that hxcpp is using the latest build by moving the 2,0,7 folder, and by defining haxelib dev hxcpp with the svn checkout address and setting HXCPP env var with the updated location. Do you know what might cause this? Thanks! Cheers! CauĂȘ |
In the latest svn version, you can use the NO_PRECOMPILED_HEADERS option in your hxcpp_config file. <xml> <section id="vars"> <set name="NO_PRECOMPILED_HEADERS" value="1"/> </section> </xml>