OS X and iOS provide two C++ run time libraries, the older libstd++ and newer libc++. By default, Xcode 5 links with libc++ when targeting OS X 10.9 or iOS 7, and with libstd++ when targeting earlier versions. The Ice Touch build system targets iOS 5.1.1 and OS X 10.7, and as a result will create by default creates libraries linked with with libstd++ . If you want to create libraries linked with libc++ , set CPP11 to yes , for example: $ make COMPILE_FOR_IPHONE=yes CXXARCHFLAGS="-arch arm64 " CPP11=yes
The resulting libraries will carry a -libc++ suffix, such as libIceCpp-libc++.a or libIceGridCpp-libc++.a These -libc++ libraries can be used by C++ applications that use C++11 features (--std=c++11 ), and also by C++ applications that do not (no --std=c++11 ). |