1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
{\rtf1\ansi\ansicpg1252\cocoartf1504\cocoasubrtf830
\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}
{\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid101\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid2}}
{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}}
\paperw11900\paperh16840\margl1440\margr1440\vieww23940\viewh15120\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\f0\b\fs24 \cf0 About & requirements
\b0 \
\
This package installs the Free Pascal Compiler 3.0.4 for Intel (32 and 64 bit). It requires Mac OS X 10.4.0 or later with Xcode and the Xcode command line tools installed. Specific Xcode version instructions:\
\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0
\ls1\ilvl0\cf0 {\listtext \'95 }
\b Xcode 5.+ (OS X 10.9+, macOS 10.12+; for OS X 10.8, see next item):
\b0 after installing Xcode, open a Terminal window and execute "
\f1 xcode-select --install"
\f0 (without the quotes)\
{\listtext \'95 }
\b Xcode 4.3-5.x Mac OS X 10.7/OS X 10.8)
\b0 : after installing Xcode, go to
\i Preferences
\i0 and then
\i Downloads
\i0 and install the
\i Command Line Tools
\i0 package\
{\listtext \'95 }
\b Xcode 3.x-4.2 (Mac OS X 10.6)
\b0 : make sure
\b not to deselect
\b0
\i UNIX Development Support
\i0 during the Xcode installation process.\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\cf0 \
This package can be used to compile for\
\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0
\ls2\ilvl0\cf0 {\listtext \'95 }Intel 32 bit (targeting Mac OS X 10.4 and up)\
{\listtext \'95 }Intel 64 bit (targeting Mac OS X 10.5 and up)\
\pard\tx560\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\cf0 \
To compile for
\b iOS
\b0 (ARM and ARM64, 32 and 64 bit iPhoneSimulator), please download and install the iOS cross-compilation package after installing this one.\
\b \
\b0 To compile for
\b PowerPC 32 bit
\b0 and
\b PowerPC 64 bit,
\b0 please download and install the PowerPC cross-compilation package after installing this one.\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\cf0 \
\b Mac OS X 10.6 compatibility
\b0 \
\
There is a
\b bug in the Xcode 3.2.x linker
\b0 (the default version shipped with Mac OS X 10.6) that results in errors when compiling dynamic libraries with FPC. You can work around it by specifying the
\i -k-no_order_inits
\i0 parameter when compiling a dynamic library (it's only required while compiling the library itself, not while compiling units it uses).\
\
This bug has however been
\b fixed in Xcode 4 and later
\b0 , so no special parameters are required anymore when using newer versions.\
\
\b Usage
\b0 \
\
\'95 Further help on using Xcode with Free Pascal Compiler, information on the the Objective-Pascal dialect, and additional Mac OS X specific information can be found at {\field{\*\fldinst{HYPERLINK "https://macpgmr.github.io/"}}{\fldrslt https://macpgmr.github.io/}}.\
\
\'95 If you come from Delphi, you may want to check out Lazarus instead for a more familiar environment: {\field{\*\fldinst{HYPERLINK "http://www.lazarus.freepascal.org"}}{\fldrslt http://www.lazarus.freepascal.org/}}. Note that currently it cannot yet be used to compile 64 bit GUI programs for Mac OS X.\
\
\'95 You may also want to check out the Light Weight Pascal IDE, available at {\field{\*\fldinst{HYPERLINK "http://www.ragnemalm.se/lightweight/"}}{\fldrslt http://www.ragnemalm.se/lightweight/}}. It is much easier to use than Xcode and recommended if you do not need all the features offered by Xcode.\
\
\'95 The compiler can also be used at the command line, in which case you use Terminal to compile programs. For editing source files, you can use your favorite editor. After installation, the compiler -called "fpc"- will be located in the directory /usr/local/bin. You may have to add this directory to your PATH before you can use the compiler from the command line.\
\
\'95 The documentation is installed in {\field{\*\fldinst{HYPERLINK "file:///Developer/Documentation/Free%20Pascal%20Compiler"}}{\fldrslt file:///Developer/Documentation/Free Pascal Compiler}}.\
\
\
For more information, see the ReadMe.txt file or visit {\field{\*\fldinst{HYPERLINK "https://www.freepascal.org"}}{\fldrslt https://www.freepascal.org}}}
|