Hello,
I have a somewhat similar question... My Setup is: A virtualbox VM with Linux Mint Tara 19 inside and Lazarus/FreePascal for compiling.
I cross-compile to ARM, the target system is a Odroid C2 or an Odroid C4.
Is it possible to configure the Lazarus environment in such a way that after compiling, the executable will be copied to the Odroid C2 or C4, and can I then single-step inside the Lazarus environment to cross-debug the running program on Odroid C2/C4 ?
If this is possible, how do I have to setup the Lazarus/FPC inside the VM? Has anybody done this ... ?