[fpc-pascal] Working Free Pascal android JNI example

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Aug 10 12:10:20 CEST 2011


On Wed, Aug 10, 2011 at 11:59 AM, Thomas Schatzl <tom_at_work at gmx.at> wrote:
> However, you might want to use the hack from
> http://mantis.freepascal.org/view.php?id=18833 on android for now.

What do you think about merging this hack to trunk and to 2.6.0? I can
do the commit on trunk.

I think that a hack support is better then no support at all.

> If you can give me some documentation how/if argc/argv/envp are passed to a shared
> library on android

I have no idea.

> When linking a FPC library using $LINKLIB, initialization/finalization is
> not called on several linux platforms (ppc/ppc64/arm) or crashes badly on
> unload at least on some linuxes (x86/amd64 on ubuntu).

=( The LCL contains initialization/finalization sections, so that
could prevent the LCL to work via JNI.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list