Free Pascal Links
Free Pascal
Free Pascal Wiki
Lazarus IDE
Lazarus Forum
forum.lazarus.freepascal.org/index.php?action=forum
Projects Using Lazarus
wiki.freepascal.org/Projects_using_Lazarus
Install Free Pascal 3 & Lazarus IDE 1.6 On Mac X Tutorial Download & Missing GDB
(This will work for the newer Mac OS and the newer FPC and newer Lazarus IDE)
Free Pascal & Lazarus Download
www.lazarus-ide.org
First Install Xcode
1) Download And Install Xcode
Xcode is a free download in the App Store
2) Install The Xcode Command Line Tools
Run this command in terminal (Applications/Utilities):
xcode-select --install
Next Install Free Pascal Compiler & Lazarus IDE
1) Download FPC & Lazarus
Free Download at www.lazarus-ide.org
2) 3 DMGs To Download: fpc, fpcscrs, lazarus
3) Install FPC, FPCScrs, Lazarus In That Order
If Lazarus IDE is run, it would come up with an error stating that the debugger executable typically has the name “gdb”. Please give the full file path. /usr/local/bin/gdb Error: file not found.
The GNU Debugger (GDB) has to be installed to make the Lazarus IDE work
Install The GNU Debugger
1) Run In Terminal (all one line): /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
If asked for a password, enter the computer’s password or your user password
2) Run In Terminal: brew install gdb
The GDB must be CodeSigned for the GDB to work
In Keychain Access (Applications/Utilities) :
1) Menu Keychain Access —> Certificate Assistant —> Create A Certificate
2) Name is gdb-cert. The Identity Type is Self Signed Root. The Certificate Type is Code Signing. Check Select To Override The Defaults.
3) It is a good idea to extend the 365 Day Setting (7000 days was used)
4) Click Continue Until The Specify A Location Comes Up —> Select Keychain To System
5) If There Is Problem With Keychain To System Then
Create The Certificate In Login. Later Export The Certificate To The System
6) Go To System Right Click (Ctrl Click) On The Certificate —> Select Get Info —> Trust —> Code Signing —> Always Trust
7) Quit Keychain And Restart The Computer
8) In Terminal Run: codesign -s gdb-cert /usr/local/bin/gdb
Run Lazarus - In Lazarus
1) Tools —> Configure Build Lazarus
LCL widget type: Carbon
Target OS: Darwin
Target CPU: i386
2) Click Build (This may take some time)
3) Quit Lazarus
4) Start Lazarus
5) Start Programming
Free Pascal
Free Pascal Wiki
Lazarus IDE
Lazarus Forum
forum.lazarus.freepascal.org/index.php?action=forum
Projects Using Lazarus
wiki.freepascal.org/Projects_using_Lazarus