My old MacBook Pro (circa 2012) was set up with VirtualBox so I could easily compile for Mac, Windows, and Linux.
I am now migrating to a new MaxBook Pro M1 (2021 with Monterey). It is a fantastic machine, but I am running into some stumbling blocks. I was able to install Lazarus 2.2.0 RC2 with FPC 3.2.2 without major issues (wow, many thanks to the dev team!).
First question, has anyone successfully cross compiled from M1 to Windows 64? I am trying to follow:
https://wiki.lazarus.freepascal.org/Cross_compiling#From_macOS_to_Win64but get linking errors.
I also tried fpcupdeluxe, but it gives an access violation.
Second question, has anyone successfully installed Lazarus on Ubuntu in a UTM virtual machine? I have UTM running Ubuntu 20, but am not finding a way to install aarch64/arm64 Free Pascal/Lazarus.
Season's greetings!
EDIT: I suppose this question should have been posted under Operating Systems - macOS / Mac OS X, my apologies.