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

[fpc-pascal] Android calling JNI functions crash

2011-02-14 Thread de_jean_7777
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 native JNI function) I get a crash. I've checked the pointers and they are not nil, but from what I've been able

[fpc-pascal] Synaser on ARM

2011-02-14 Thread greim
Hi a short howto for all trying to use the serial port on ARM Linux After fighting several hours i was able to cross-compile for ARM (OMAP 3 Gumstix Overo) Most helpful (but not totally right for the OMAP i think) was: http://www.eilers.net/index.php?option=com_content&view=article&id=78&Itemid