2017-01-13 10:33:09 +01:00
|
|
|
Please follow the instructions in INSTALL.UNIX to install FreeType on
|
2007-01-05 10:03:31 +01:00
|
|
|
Mac OS X.
|
2007-01-14 00:01:36 +01:00
|
|
|
|
2017-01-13 10:33:09 +01:00
|
|
|
Currently FreeType2 functions based on some deprecated Carbon APIs
|
|
|
|
return `FT_Err_Unimplemented_Feature' always, even if FreeType2 is
|
|
|
|
configured and built on the system that deprecated Carbon APIs are
|
|
|
|
available. To enable deprecated FreeType2 functions as far as
|
|
|
|
possible, replace `src/base/ftmac.c' by `builds/mac/ftmac.c'.
|
2008-02-14 03:55:16 +01:00
|
|
|
|
2017-01-13 10:33:09 +01:00
|
|
|
Starting with Mac OS X 10.5, gcc defaults the deployment target to
|
|
|
|
10.5. In previous versions of Mac OS X, this defaulted to 10.1. If
|
|
|
|
you want your built binaries to run only on 10.5, this change does not
|
|
|
|
concern you. If you want them to also run on older versions of Mac
|
|
|
|
OS X, then you must either set the MACOSX_DEPLOYMENT_TARGET
|
|
|
|
environment variable or pass `-mmacosx-version-min' to gcc. You
|
|
|
|
should specify the oldest version of Mac OS you want the code to run
|
|
|
|
on. For example, if you use Bourne shell:
|
2007-11-16 16:48:58 +01:00
|
|
|
|
2017-01-13 10:33:09 +01:00
|
|
|
export MACOSX_DEPLOYMENT_TARGET=10.2
|
2007-11-16 16:48:58 +01:00
|
|
|
|
2007-12-06 06:43:36 +01:00
|
|
|
or, if you use C shell:
|
2007-11-16 16:48:58 +01:00
|
|
|
|
2017-01-13 10:33:09 +01:00
|
|
|
setenv MACOSX_DEPLOYMENT_TARGET 10.2
|
2007-11-16 16:48:58 +01:00
|
|
|
|
2017-01-13 10:33:09 +01:00
|
|
|
Alternatively, you could pass `-mmacosx-version-min=10.2' to gcc.
|
2007-11-16 16:48:58 +01:00
|
|
|
|
2017-01-13 10:33:09 +01:00
|
|
|
Here the number 10.2 is the lowest version that the built binaries can
|
|
|
|
run on. In the above cases, the built binaries will run on Mac OS X
|
|
|
|
10.2 and later, but _not_ earlier. If you want to run on earlier, you
|
|
|
|
have to set lower version, e.g., 10.0.
|
2007-11-16 16:48:58 +01:00
|
|
|
|
2007-01-14 00:01:36 +01:00
|
|
|
For classic Mac OS (Mac OS 7, 8, 9) please refer to builds/mac/README.
|