[fpc-pascal] Cross compile from x86 to Pi
Karoly Balogh (Charlie/SGR)
charlie at scenergy.dfmk.hu
Mon Aug 17 14:15:56 CEST 2015
Hi,
On Mon, 17 Aug 2015, Michael Schnell wrote:
> Cross compiling with fpc is not for that faint of heard. (Been there some
> years ago)
Well, I do it 8 hours a day for a living, actually... :) I think it's
really easy these days, if you know some basics about the build system
(most of which is available from the Wiki), and how the some of the
dependencies work (binutils, mainly). Basically you can have a working
crosscompiler setup with a *single* make command in about two minutes, to
almost any system which you have binutils installed for. I wouldn't call
that hard.
And it's especially super-easy these days, when you can test most of your
cross-setup outputs on a Linux/x86 box, thanks to the user-space emulation
of a good binfmts/QEMU setup (again, available out-of-box with some
packages on Ubuntu/Debian). You don't even have to copy over to an ARM
(etc.) box...
Of course, wiring it into an IDE is a different question, that I don't
know (and don't use)...
Charlie
More information about the fpc-pascal
mailing list