Hello all, I’m building a plugin AU synthesiser on Mountain Lion, and I’ve been using new C+11 features pretty liberally, with Xcode set to use the (LLVM) libc++ standard library implementation.
I was trying to compile the plugin for a friend to use on his 10.6 machine, but I’ve been having trouble compiling with that OS as my target. After some reading I discovered that libc++ isn’t available on Snow Leopard, and Apple has consequently blocked targeting that platform while using that library for std. My project won’t compile using GNU libstdc++ because of some of the fancy C++11 features I’ve been using. Thing is, I like them and I’d rather not rewrite the code to get rid of them (I know, I should have checked this stuff out before beginning, but I’m inexperienced, consider it a lesson learned).
I read that it should be possible to compile with libc++ as a statically linked library so the code will run on 10.6, but I’ve no idea how to do that (again, I’m a bit of a noob). My Google searches are not producing much useful info. Has anyone here done this? Or any other advice on how to proceed?