At the moment that I'm posting this, Lazarus Pascal for MacOS is distributed as a 32bit application, which will not work unde Catalina.
So here the instruction on how to get Lazarus installed and running anyway (64bit). On my 12" MacBook this took about 10 minutes, but obviously this depends on your Internet Connection speed and the speed of your Mac.
1) Install Xcode from the App Store.
2) Install Xcode command line utilities.
3) Download and install the 32 bit version of Lazarus.
This involves the IDE (Lazarus), FPC (compiler) and FPC SRC (compiler sources).
First install FPC, then FPC SRC, and finally Lazarus.
* A warning that files will be install in the system files has to be answered with "Install Anyway"
We're still at 32 bit so Lazarus will not work yet.
Myself I use the SVN or Trunk version of Lazarus, so here how we can install that after installing the initial version (FPC is required).
4) Install Lazarus from trunk;
Next downloaden Lazarus from trunk:
svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus
** If an update is needed, go to the ~/freepascal/lazarus directory en run:
* I usually update only if things do not work, a new fix has been released, or if I haven't updated Lazarus in quite a while.
The same can be done for FPC, but I'm not sure if this is really needed;:
svn co http://svn.freepascal.org/svn/fpc/trunk fpc
** For future updates run in the ~/freepascal/fpc directory:
5) Compile Lazarus for Cocoa 64-bit.
make LCL_PLATFORM=cocoa CPU_TARGET=x86_64 clean all
Here we compile for cocoa and 64bit. "clean all" is not really needed at the initial install, but it's a good habit to do it this way, especially after future updates. Just to clean old stuff.
When done you'll see something like this:
Free Pascal Compiler version 3.0.4 [2018/09/30] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Darwin for x86_64
(3104) Compiling startlazarus.lpr
(3104) Compiling redirect_stderr.pas
(9001) Assembling (pipe) ../units/x86_64-darwin/cocoa/redirect_stderr.s
(3104) Compiling lazarusmanager.pas
/Users/hans/freepascal/lazarus/ide/lazarusmanager.pas(138,35) Hint: (5024) Parameter "Sender" not used
(9001) Assembling (pipe) ../units/x86_64-darwin/cocoa/lazarusmanager.s
(9001) Assembling (pipe) ../units/x86_64-darwin/cocoa/startlazarus.s
(9022) Compiling resource ../units/x86_64-darwin/cocoa/startlazarus.or
(9015) Linking ../startlazarus
(1008) 720 lines compiled, 1.7 sec
(1022) 3 hint(s) issued
Lazarus is now ready for use (unless you had error messages).
6) Star Lazarus Trunk
Open Finder and go to ~/freepascal/lazarus. You'll see a “Lazarus” alias - double click it and Lazarus will start.
You can make an alias from that "Lazarus" and move it to your Application. Do NOT move the original alias - it won't work.
And that's all ... Lazarus runs now under Catalina.