[fpc-devel] rev 19036 breaks the Android cross-compiler

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Nov 15 14:51:15 CET 2011



On Tue, 15 Nov 2011, Felipe Monteiro de Carvalho wrote:

> On Tue, Nov 15, 2011 at 2:18 PM, Thomas Schatzl <tom_at_work at gmx.at> wrote:
>> Patches that add a new target are welcome (or other contributions to
>> that effect that are not hacks).
>
> If noone can do anything about this then I propose to fork a new
> android target out of linux without using code from linux but instead
> just copying everything and making the Android fixes.

That is probably the worst you can do.

Long-term, this will lead to serious maintenance overhead.

So it's probably a lot easier to just IFDEF with a -DANDROID or so,
and recompile the linux target specifically for android.

Michael.



More information about the fpc-devel mailing list