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

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Nov 15 16:08:12 CET 2011


On Tue, Nov 15, 2011 at 3:55 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
> Before that change, argc/argv were simply not initialized in ARM shared libraries and hence were always 0. Maybe the difference is that earlier, you always got paramcount=0
> and now you get a crash on Android. I would not call that a breaking change though, only another incompatibility of Android with regular Linux (which is their full right, since
> they don't advertise Linux-compatibility afaik).

argc/argv are useless in Android JNI libraries, I can't imagine any
use for that. I think that having them as zero is just fine for the
future android target.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list