1Please follow the instructions in INSTALL.UNIX to install FreeType on 2Mac OS X. 3 4Currently FreeType2 functions based on some deprecated Carbon APIs 5return FT_Err_Unimplemented_Feature always, even if FreeType2 is 6configured and built on the system that deprecated Carbon APIs are 7available. To enable deprecated FreeType2 functions as far as possible, 8replace src/base/ftmac.c by builds/mac/ftmac.c. 9 10Starting with Mac OS X 10.5, gcc defaults the deployment target 11to 10.5. In previous versions of Mac OS X, this defaulted to 10.1. 12If you want your built binaries to run only on 10.5, this change 13does not concern you. If you want them to also run on older versions 14of Mac OS X, then you must either set the MACOSX_DEPLOYMENT_TARGET 15environment variable or pass -mmacosx-version-min to gcc. You should 16specify the oldest version of Mac OS you want the code to run on. 17For example, if you use Bourne shell: 18 19 export MACOSX_DEPLOYMENT_TARGET=10.2 20 21or, if you use C shell: 22 23 setenv MACOSX_DEPLOYMENT_TARGET 10.2 24 25Alternatively, you could pass "-mmacosx-version-min=10.2" to gcc. 26 27Here the number 10.2 is the lowest version that the built binaries 28can run on. In the cases in above, the built binaries will run on 29Mac OS X 10.2 and later, but _not_ earlier. If you want to run on 30earlier, you have to set lower version, e.g. 10.0. 31 32For classic Mac OS (Mac OS 7, 8, 9) please refer to builds/mac/README. 33