blob: 2587e24a65c94473492873e6f113a3676440600f [file] [log] [blame]
Werner Lembergeae29d92017-01-13 10:33:09 +01001Please follow the instructions in INSTALL.UNIX to install FreeType on
Werner Lemberg4ea0a7f2007-01-05 09:03:31 +00002Mac OS X.
Werner Lemberg6164a9d2007-01-13 23:01:36 +00003
Werner Lembergeae29d92017-01-13 10:33:09 +01004Currently 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
8possible, replace `src/base/ftmac.c' by `builds/mac/ftmac.c'.
Suzuki, Toshiya (鈴木俊哉)60e83a12008-02-14 02:55:16 +00009
Werner Lembergeae29d92017-01-13 10:33:09 +010010Starting with Mac OS X 10.5, gcc defaults the deployment target to
1110.5. In previous versions of Mac OS X, this defaulted to 10.1. If
12you want your built binaries to run only on 10.5, this change does not
13concern you. If you want them to also run on older versions of Mac
14OS X, then you must either set the MACOSX_DEPLOYMENT_TARGET
15environment variable or pass `-mmacosx-version-min' to gcc. You
16should specify the oldest version of Mac OS you want the code to run
17on. For example, if you use Bourne shell:
Suzuki, Toshiya (鈴木俊哉)00518ca2007-11-16 15:48:58 +000018
Werner Lembergeae29d92017-01-13 10:33:09 +010019 export MACOSX_DEPLOYMENT_TARGET=10.2
Suzuki, Toshiya (鈴木俊哉)00518ca2007-11-16 15:48:58 +000020
Suzuki, Toshiya (鈴木俊哉)05f5c582007-12-06 05:43:36 +000021or, if you use C shell:
Suzuki, Toshiya (鈴木俊哉)00518ca2007-11-16 15:48:58 +000022
Werner Lembergeae29d92017-01-13 10:33:09 +010023 setenv MACOSX_DEPLOYMENT_TARGET 10.2
Suzuki, Toshiya (鈴木俊哉)00518ca2007-11-16 15:48:58 +000024
Werner Lembergeae29d92017-01-13 10:33:09 +010025Alternatively, you could pass `-mmacosx-version-min=10.2' to gcc.
Suzuki, Toshiya (鈴木俊哉)00518ca2007-11-16 15:48:58 +000026
Werner Lembergeae29d92017-01-13 10:33:09 +010027Here the number 10.2 is the lowest version that the built binaries can
28run on. In the above cases, the built binaries will run on Mac OS X
2910.2 and later, but _not_ earlier. If you want to run on earlier, you
30have to set lower version, e.g., 10.0.
Suzuki, Toshiya (鈴木俊哉)00518ca2007-11-16 15:48:58 +000031
Werner Lemberg6164a9d2007-01-13 23:01:36 +000032For classic Mac OS (Mac OS 7, 8, 9) please refer to builds/mac/README.