> 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:
[...]
I'm not sure where to go next?
> 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/"
Note: When building a native aarch64 Free Pascal Compiler (ppca64) for an Apple Silicon M1 processor Mac, change the CPU_TARGET in the instructions below from x86_64 (Intel 64 bit) to aarch64 (ARM 64 bit - Apple Silicon M1) and change any reference to ppcx64 to ppca64
Sigh, that's embarrassing. I'm sorry I wasted your time with that.
Now my trunk Lazarus is complaining about not finding fppkg.cfg, and I wasn't sure about how to sort that out, but it seems to run OK without me having to sort it out. Back to working on openSSL... thanks