Re: [fpc-pascal] Cross-compile for Linux Arm (RaspberryPi) on Windows 10?

2023-03-25 Thread Travis Siegel via fpc-pascal
If you're not opposed to copying files anyhow, why not setup a script to do the compile for you on the pi? You just need to setup your pi with ssh keys, then use scp to move the files, ssh to do the login, then just run the shell script to do the compiling. If you configure the ssh keys prop

Re: [fpc-pascal] Cross-compile for Linux Arm (RaspberryPi) on Windows 10?

2023-03-25 Thread Bo Berglund via fpc-pascal
On Sat, 25 Mar 2023 23:25:07 +0100, Bo Berglund via fpc-pascal wrote: >I have latest Lazarus/Fpc on my Windows 10 main computer, but also on a number >of RaspberryPi (3 and 4) devices. If I create an application on Windows and >want >to build the same for RPi, then I have to transfer the sources

[fpc-pascal] Illegal expression when redeclare typed constant

2023-03-25 Thread Zamrony P. Juhara via fpc-pascal
Suppose  I have unit mytest; interface const    MY_VALUE = 1;    MY_INT_VALUE: integer = 1; implementationend. and second unit unit mytest2; interface uses mytest; const    // this is legal    MY_VALUE = mytest.MY_VALUE;     // this  causes illegal expression    // MY_INT_VALUE = mytest.MY_INT_VA

[fpc-pascal] Cross-compile for Linux Arm (RaspberryPi) on Windows 10?

2023-03-25 Thread Bo Berglund via fpc-pascal
I have latest Lazarus/Fpc on my Windows 10 main computer, but also on a number of RaspberryPi (3 and 4) devices. If I create an application on Windows and want to build the same for RPi, then I have to transfer the sources (via Subversion) to the RPi and build there. And doing so requires me to us