1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/modules/freetype2/docs/INSTALL.MAC Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +Please follow the instructions in INSTALL.UNIX to install FreeType on 1.5 +Mac OS X. 1.6 + 1.7 +Currently FreeType2 functions based on some deprecated Carbon APIs 1.8 +return FT_Err_Unimplemented_Feature always, even if FreeType2 is 1.9 +configured and built on the system that deprecated Carbon APIs are 1.10 +available. To enable deprecated FreeType2 functions as far as possible, 1.11 +replace src/base/ftmac.c by builds/mac/ftmac.c. 1.12 + 1.13 +Starting with Mac OS X 10.5, gcc defaults the deployment target 1.14 +to 10.5. In previous versions of Mac OS X, this defaulted to 10.1. 1.15 +If you want your built binaries to run only on 10.5, this change 1.16 +does not concern you. If you want them to also run on older versions 1.17 +of Mac OS X, then you must either set the MACOSX_DEPLOYMENT_TARGET 1.18 +environment variable or pass -mmacosx-version-min to gcc. You should 1.19 +specify the oldest version of Mac OS you want the code to run on. 1.20 +For example, if you use Bourne shell: 1.21 + 1.22 + export MACOSX_DEPLOYMENT_TARGET=10.2 1.23 + 1.24 +or, if you use C shell: 1.25 + 1.26 + setenv MACOSX_DEPLOYMENT_TARGET 10.2 1.27 + 1.28 +Alternatively, you could pass "-mmacosx-version-min=10.2" to gcc. 1.29 + 1.30 +Here the number 10.2 is the lowest version that the built binaries 1.31 +can run on. In the cases in above, the built binaries will run on 1.32 +Mac OS X 10.2 and later, but _not_ earlier. If you want to run on 1.33 +earlier, you have to set lower version, e.g. 10.0. 1.34 + 1.35 +For classic Mac OS (Mac OS 7, 8, 9) please refer to builds/mac/README.