hello guys; what do I have to do in order to download and install lazarus on raspberry pi ?os?
1. create a swap file with the same size as the memory (except for 4 or 8 G, for those it should not be necessary)
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/v2.2.0b
is this the correct file i have to download?
fpcums pdeluxe-armv6hf-linux
1. create a swap file with the same size as the memory (except for 4 or 8 G, for those it should not be necessary)
THANKS so much for the swap file reminder on the lower RAM Pi's!!
I've had to do it on mine and I always forget about that step!!
As a general point, remember that SD-Cards have a limited life and no load-levelling: putting swap and regularly-written logfiles on them is a bad idea.
You're quite correct as usual, but the fact is, you can't link a typical Lazarus compiled binary on a Raspberry Pi 3(or lower) without it. That's why fpcupdeluxe will give you a warning if you don't have the swap file up.
That's true, but the correct solution is to use a USB-connected thumb drive (or SSD etc.) which /does/ have wear levelling. I'd remind you that for the last four years or so it's even been possible to boot from external media: having an SD-Card socket is arguably better than only having an on-board Flash device, but having the option to boot from and use external media is even better.