Use the fpcsrc .dmg for the fpc compiler .dmg that you installed.
To use SVN source, compile from source too.
If you want to use the latest FPC trunk source (2.5.1), an easy way to get that is:
- Get install_objp.sh script from this site:
http://www.thealchemistguild.org/objp.php- Open install_objp.sh in TextEdit and change the first line (if needed) from
branches/objp to trunk.
- Open a Terminal window and cd to where install_objp.sh is located and enter:
- chmod +x install_objp.sh
- sudo ./install_objp.sh
This will download FPC 2.5.1 under /Developer/ObjectivePascal.
To download and build Lazarus from latest SVN trunk:
cd ~/lazarus (or wherever you want it)
svn co
http://svn.freepascal.org/svn/lazarus/trunk .
make FPC=/usr/local/lib/fpc/2.5.1/ppc386
Start Lazarus and on Environment | Options:
Compiler path: /usr/local/lib/fpc/2.5.1/ppc386
FPC source directory: /Developer/ObjectivePascal/fpc/
Make path: /usr/bin/make
If you're just starting out, you might be better off just using the stable .dmg's (0.9.28.2 / FPC 2.2.4). However, if you want to start working with the new support for Cocoa classes, you'll need 2.5.1.
Thanks.
-Phil