<html><head></head><body><div>Hi All,</div><div><br></div><div>On Mon, 2016-02-15 at 22:40 +0100, Michalis Kamburelis wrote:</div><blockquote type="cite"><font color="#737373">> Huh? I thought you could always cross-compile. What is missing to be</font><br>
<font color="#737373">> able to do that?</font><br></blockquote><div>Not many things but it is in the TODO list. I already sent a proposal to this list some time ago.</div><blockquote type="cite">
<br>
To be clear: I am referring here to what you can do with FPC as<br>
installed from Debian packages (without downloading FPC, or additional<br>
parts of it, from upstream --- freepascal.org), on a typical PC<br>
architecture (i386 or x86_64).<br></blockquote><div>Using multi-arch you are probably able to compile for Debian for an other CPU. However for Windows a Android, you will need to recompile RTL, but this could be done using fpc-source</div><blockquote type="cite">
<br>
You cannot cross-compile to Windows. For this, you're missing FPC RTL<br>
for Windows units (.o, .ppu), compiled with the same FPC version. They<br>
have to be known to FPC (referenced by appropriate -Fu in ~/.fpc.cfg<br>
or /etc/fpc.cfg), .<br>
<br>
You cannot cross-compile to Android. For this, you're missing<br></blockquote><div>This will come soon or late. It is on my todo list to make it easy to build APK using FPC on a Debian box. I just need time, but maybe I should write some wiki page about it.</div><div><pre>-- 
Cheers,
Abou Al Montacir</pre></div></body></html>