Target Darwin
Introduction
Darwin is the target for Mac OS X, both powerpc and i386. Programs may also be run on a machine with only Darwin installed.
Installation
There are two possibilities:
1) Download the the disk image with installed from the download page.
2) Use fink (http://fink.sourceforge.net)
In addition, daily snapshots of the development powerpc and i386 versions of fpc 2.3.1 and lazarus are available at (usage at own risk):
http://ftp.de.freepascal.org/pub/lazarus/
http://ftp.hu.freepascal.org/pub/lazarus/
http://ftp.ca.freepascal.org/pub/lazarus/
http://michael-ep3.physik.uni-halle.de/Lazarus/
Usage
1) Editor (AlphaX, BBedit, ...) and command line (fpc your_pascal_program.pas)
2) Xcode
The FPC installer disk images contain installers with Xcode templates.
3) Leightweight IDE
An IDE in the classic Mac style: http://www.ragnemalm.se/lightweight/
4) DOS-like IDE
A description of how to get the IDE running is here: How to get the fpc ide running under Mac OS X
5) Lazarus
Lazarus is a Delphi-style RAD environment: http://forum.lazarus.freepascal.org
More
- Mac OS Pascal universal interfaces are now part of the extra packages: packages/extra/univint
- IDE already works, except for some graphic glitches on the user output screen,
- can mouse events be supported with Terminal.app and X11.app? how?
- It is not possible to support the mouse in Terminal.app. In xterm (X11) it should be possible.
- Universal binaries (PowerPC and i386)
- The PowerPC and i386 executables have to be compiled separately and then combined using the lipo command line tool