Re: [fpc-pascal] android basic question

2010-06-06 Thread Jonas Maebe
On 06 Jun 2010, at 23:23, Thierry Bothorel wrote: > I started with Mathiew Mead JNI headers translation for Delphi/Kylix, > that explains libc use. I did not found any JNI headers translation for > Freepascal. Does this mean that the only solution is to update > JNI.pas so that it uses Unix u

Re: [fpc-pascal] android basic question

2010-06-06 Thread Thierry Bothorel
Jonas Maebe a écrit : > That package only works under Linux/i386, because it is only intended as a > replacement for the Kylix libc unit. It cannot and will never work on any > other platform. It is also not compiled by the Makefile for Linux/ARM. So it > is normal that if you circumvent the mak

Re: [fpc-pascal] android basic question

2010-06-06 Thread Jonas Maebe
On 06 Jun 2010, at 17:38, Thierry Bothorel wrote: > I have errors in ...fpsrc/2.5.1/packages/libc/ That package only works under Linux/i386, because it is only intended as a replacement for the Kylix libc unit. It cannot and will never work on any other platform. It is also not compiled by

Re: [fpc-pascal] android basic question

2010-06-06 Thread Thierry Bothorel
Marco van de Voort a écrit : > In our previous episode, Thierry Bothorel said: > >> After googling I did not found clear answers, but my understanding is >> that it is not possible to build natives libraries for Android without >> writing a completely new libc translation for bionic ? >> >

Re: [fpc-pascal] android basic question

2010-06-06 Thread Marco van de Voort
In our previous episode, Thierry Bothorel said: > > After googling I did not found clear answers, but my understanding is > that it is not possible to build natives libraries for Android without > writing a completely new libc translation for bionic ? I don't fully understand. libc's are not tran

[fpc-pascal] android basic question

2010-06-06 Thread Thierry Bothorel
Hi, Just a couple of questions. I wanted to play with android native development kit to see if I can replace the basic C "hello world" library from NDK samples with a fpc one. After "fighting" with cross compile, JNI headers, i'm stuck now with Android libc implementation (bionic). After googl