Re: [fpc-pascal] Android calling JNI functions crash

2011-02-17 Thread de_jean_7777
On 15.2.2011 9:57, Felipe Monteiro de Carvalho wrote: No idea, I always use Linux, but if no-one has a better idea, I would suggest that you try first using the linux cross-compiler, just to check if the crash is really related to the binutils. There are some instructions here: http://wiki.lazar

Re: [fpc-pascal] Android calling JNI functions crash

2011-02-15 Thread Felipe Monteiro de Carvalho
No idea, I always use Linux, but if no-one has a better idea, I would suggest that you try first using the linux cross-compiler, just to check if the crash is really related to the binutils. There are some instructions here: http://wiki.lazarus.freepascal.org/Android_Interface#Configuring_the_Free

Re: [fpc-pascal] Android calling JNI functions crash

2011-02-14 Thread de_jean_7777
On 14.2.2011. 21:39, Felipe Monteiro de Carvalho wrote: I use eabi=5 (aka ARMv5), just in case this is the problem. But I don't use JNI. I've tried 4 different toolchains: CodeSourcery ones, NDK ones (ld crashes), WinARM (cannot get it to work, something about different EABI's when linking),

Re: [fpc-pascal] Android calling JNI functions crash

2011-02-14 Thread Felipe Monteiro de Carvalho
I use eabi=5 (aka ARMv5), just in case this is the problem. But I don't use JNI. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Android calling JNI functions crash

2011-02-14 Thread de_jean_7777
I've also forgot to mention the crosscompiler is a i386-win (under XP). On 14.2.2011 18:28, de_jean_ wrote: Under Android I've tried running my native programs which works great. However, If I try to call any of the JNI functions as received with env (PJNIEnv, as the first argument of any n