[fpc-pascal] Cross compile from x86 to Pi

Chris Moody inquiry at greensnakedesign.com
Mon Aug 17 17:19:31 CEST 2015



On 08/17/2015 05:15 AM, Karoly Balogh (Charlie/SGR) wrote:
> 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
> _______________________________________________
>
Hi again Charlie,

Do you use the MSEide software to do the cross compiling? or do you just 
call fpc with the right parameters?

Mind sharing your setup?

Thanks,

Chris



More information about the fpc-pascal mailing list