Mac OS X / OS X / macOS
Download MAC OS X for Intel
You can also download cross-compilers for ARM64, PowerPC(64), iOS & iPhoneSimulator, JVM/Java and JVM/Android.
“Unknown developer” error when installing (Mac OS X 10.7 and later)
If you get the message that the FPC installer was created by an unknown developer and cannot be opened, right-click (or ctrl-click) on the installation package and choose “Open” in the contextual menu. If this does not work, you may first have to go to “System Preferences” -> “Security & Privacy” -> “General”, and “Allow apps downloaded from: Mac App Store and Identified developers”. These workarounds are required because we do not pay Apple 99 euro per year, which would prove you can trust us.
Xcode 11+ compatibility (macOS 10.15 Catalina and later)
FPC 3.2.2 is qualified for use with Mac OS X 10.4 till macOS 11. Xcode 11+ no longer includes support for compiling Intel 32 bit programs. If you wish to compile such programs, you will have to copy an older Mac OS X SDK from a previous Xcode installation and point the compiler to it with the -XR command line parameter.
Xcode 10+ compatibility (macOS 10.14 Mojave and later)
FPC 3.2.2 is qualified for use with Mac OS X 10.4 till macOS 11. Xcode 10+ installs some command line file in different locations compared to previous releases. If you already installed FPC under a previous Mac OS X/OS X/macOS version, you will have to reinstall FPC 3.2.2 under macOS 10.14 to get a configuration file that enables the compiler to find the necessary files. See also the section below on how to install the command line tools.
Xcode 5+ compatibility (OS X 10.9 and later; for OS X 10.8, see below)
FPC 3.2.2 is qualified for use with Mac OS X 10.4 till macOS 11. Xcode 5 and later however no longer install the command line tools by default, which are required by FPC. To install them manually, open “/Applications/Utilities/Terminal”, execute xcode-select --install and choose “Install”. Afterwards, FPC will function correctly.
Xcode 4.3-5.x compatibility (Mac OS X 10.7/OS X 10.8)
FPC 3.2.2 is qualified for use with Mac OS X 10.4 till macOS 11. Xcode 4.3 and later however no longer install the command line tools by default, which are required by FPC. To install them manually, open Xcode, go to Preferences, select “Downloads;” and install the “Command Line Tools”. Afterwards, FPC will install and function correctly.
Xcode 3.2.x-4.2 compatibility (Mac OS X 10.6)
FPC 3.2.2 is qualified for use with Mac OS X 10.4 till macOS 11. There is however an issue when compiling dynamic libraries with FPC under Mac OS X 10.6 due to a bug in the Xcode 3.2.x linker. This bug has been fixed in Xcode 4. You can work around the bug in Xcode 3.2.x by using the -k-no_order_inits command line parameter when compiling a dynamic library.
Download the 3.2.2 release in one big file
- fpc-3.2.2.intelarm64-macosx.dmg contains an installation package for compiling Intel (32 bit and 64 bit) and ARM64 programs.
- fpc-3.2.2.intel-macosx.cross.powerpc-macosx.dmg contains an add-on installation package for compiling PowerPC (32 and 64 bit) programs.
- fpc-3.2.2.intel-macosx.cross.ios.dmg contains an installation package for compiling iPhone/iPod Touch/iPad programs.
- fpc-3.2.2.intel-macosx.cross.jvm.dmg contains an add-on installation package for compiling JVM programs.