Trev, I've tried following the instructions on
https://wiki.lazarus.freepascal.org/Installing_Lazarus_on_macOS to get Lazarus working. Unfortunately I need the trunk version of FPC to get the generics stuff to compile. And that won't install - I followed your instructions and my trunk Lazarus is working fine, but when I install the trunk FPC, I get an error
> git clone -b main
https://gitlab.com/freepascal.org/fpc/source.git fpc_main
yep fine
> make distclean all FPC=/usr/local/lib/fpc/3.2.2/ppcx64 OS_TARGET=darwin CPU_TARGET=aarch64 OPT="-XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/"
Yep fine, with a changed path to the latest SDK. Note that I'm on an M1 so aarch64 not x86_64
> sudo make install OS_TARGET=darwin CPU_TARGET=aarch64
fails pretty quickly with:
/Users/grahame/work/lazarus/fpc_main/utils/fpcm/bin/aarch64-darwin/fpcmake -p -Taarch64-darwin Makefile.fpc
make[3]: /Users/grahame/work/lazarus/fpc_main/utils/fpcm/bin/aarch64-darwin/fpcmake: No such file or directory
make[3]: *** [fpc_install] Error 1
make[2]: *** [rtl_distinstall] Error 2
make[1]: *** [installbase] Error 2
make: *** [installall] Error 2
/Users/grahame/work/lazarus/fpc_main/utils/fpcm exists, but it doesn't have any sub-directories. I'm not sure where to go next?