[fpc-devel] Re: Building the Android branch

2012-12-20 Thread Thomas Schatzl
Hi, On Thu, 2012-12-20 at 17:09 +0100, Sven Barth wrote: Am 19.12.2012 17:18, schrieb Sven Barth: > > Am 19.12.2012 16:42, schrieb Thomas Schatzl: > >>>[...] >> - yes. See http://developer.android.com/tools/devices/emulator.html. > >> Btw, there is not much point to compiling for armv6 for Android

[fpc-devel] Re: Building the Android branch

2012-12-20 Thread Sven Barth
Am 19.12.2012 17:18, schrieb Sven Barth: Am 19.12.2012 16:42, schrieb Thomas Schatzl: On Wed, 2012-12-19 at 16:20 +0100, Sven Barth wrote: Am 18.12.2012 17:47, schrieb Thomas Schatzl: Looking through compiler/systems/t_android.pas, you may want to try commmenting line 343, the one that adds in

[fpc-devel] Re: Building the Android branch

2012-12-20 Thread Sven Barth
Am 20.12.2012 10:19, schrieb Thomas Schatzl: - if you are really interested about doing Android development, I recommend getting a developer board. The emulator is really slow. Even fast developer boards are really cheap now, e.g. quad-core 1.4Ghz ARMv7 with 1GB RAM for 70 USD (www.hardkernel.c

[fpc-devel] Re: Building the Android branch

2012-12-20 Thread Thomas Schatzl
Hi, On Wed, 2012-12-19 at 17:18 +0100, Sven Barth wrote: > Am 19.12.2012 16:42, schrieb Thomas Schatzl: > > On Wed, 2012-12-19 at 16:20 +0100, Sven Barth wrote: > >> Am 18.12.2012 17:47, schrieb Thomas Schatzl: >>> [...] >>> Hmm... It seems that the SDK's QEMU does not emulate a ARMv6 device? >> >

Re: [fpc-devel] Re: Building the Android branch

2012-12-19 Thread Den
Hello again Sven/Thomas, Sorry about the post again, you can ignore the previous post. I got targetandroid compiling with my buildscript. I just had to do a make -C "$HOME/fpc-droid/utils/fpcm" before the actual make process, and setting PATH to "$HOME/fpc-droid/utils/fpcm:$PATH" as a work

Re: [fpc-devel] Re: Building the Android branch

2012-12-19 Thread Den
Hi Sven/Thomas, I was just wondering if you guys could give me a hand as well. I'm currently interested in using the Native "targetandroid" branch. Right now I'm getting the error: fpcmake -p -Tarm-android Makefile.fpc Processing Makefile.fpc Error: No targets set This is the

[fpc-devel] Re: Building the Android branch

2012-12-19 Thread Sven Barth
Am 19.12.2012 16:42, schrieb Thomas Schatzl: On Wed, 2012-12-19 at 16:20 +0100, Sven Barth wrote: Am 18.12.2012 17:47, schrieb Thomas Schatzl: Looking through compiler/systems/t_android.pas, you may want to try commmenting line 343, the one that adds info.Dynamiclinker to the input files. Looks

[fpc-devel] Re: Building the Android branch

2012-12-19 Thread Thomas Schatzl
Hi, a few notes: On Wed, 2012-12-19 at 16:20 +0100, Sven Barth wrote: > Am 18.12.2012 17:47, schrieb Thomas Schatzl: > > Looking through compiler/systems/t_android.pas, you may want to try > > commmenting line 343, the one that adds info.Dynamiclinker to the > > input files. Looks wrong. (sy

[fpc-devel] Re: Building the Android branch

2012-12-19 Thread Sven Barth
Am 19.12.2012 16:20, schrieb Sven Barth: Edit: Linking with debug information I could resolve the address to InterlockedExchange. Hmm... It seems that the SDK's QEMU does not emulate a ARMv6 device? Running it on my own Android device does not work either, but I don't know whether it's the same

[fpc-devel] Re: Building the Android branch

2012-12-19 Thread Sven Barth
Am 18.12.2012 17:47, schrieb Thomas Schatzl: Looking through compiler/systems/t_android.pas, you may want to try commmenting line 343, the one that adds info.Dynamiclinker to the input files. Looks wrong. (system/bin/linker is passed to ld later as --dynamic-linker option later anyway). Ok...

[fpc-devel] Re: Building the Android branch

2012-12-18 Thread Sven Barth
Am 18.12.2012 17:47 schrieb "Thomas Schatzl" : > > Hi, > > On Tue, 2012-12-18 at 17:35 +0100, Sven Barth wrote: > > > === objdump end === > > > > > > The first one shouldn't be the full pathname... also isn't the linker > > > on Android called "/system/bin/linker"? > > You're trying to generate an

[fpc-devel] Re: Building the Android branch

2012-12-18 Thread Thomas Schatzl
Hi, On Tue, 2012-12-18 at 17:35 +0100, Sven Barth wrote: > > === objdump end === > > > > The first one shouldn't be the full pathname... also isn't the linker > > on Android called "/system/bin/linker"? You're trying to generate an executable or a shared library (.so)? > > > > Do I need any fur

[fpc-devel] Re: Building the Android branch

2012-12-18 Thread Sven Barth
Am 18.12.2012 17:24, schrieb Sven Barth: Am 18.12.2012 14:22, schrieb Sven Barth: Am 18.12.2012 14:15, schrieb Thomas Schatzl: I now simply replaced my 2.6.0 fpcmake with one compiled from the Android branch and were happy to go :) So I (this time on Windows) managed to compile and install t

[fpc-devel] Re: Building the Android branch

2012-12-18 Thread Sven Barth
Am 18.12.2012 14:22, schrieb Sven Barth: Am 18.12.2012 14:15, schrieb Thomas Schatzl: I now simply replaced my 2.6.0 fpcmake with one compiled from the Android branch and were happy to go :) So I (this time on Windows) managed to compile and install the branch and now just need to check wheth

[fpc-devel] Re: Building the Android branch

2012-12-18 Thread Sven Barth
Am 18.12.2012 14:15, schrieb Thomas Schatzl: I now simply replaced my 2.6.0 fpcmake with one compiled from the Android branch and were happy to go :) So I (this time on Windows) managed to compile and install the branch and now just need to check whether it will work... Now I just need to tes

[fpc-devel] Re: Building the Android branch

2012-12-18 Thread Thomas Schatzl
Hi, On Tue, 2012-12-18 at 13:48 +0100, Sven Barth wrote: Am 18.12.2012 11:09, schrieb Thomas Schatzl: > > > >> > There is a new issue I have never seen before that fpdoc > >> > (actually > >> > cwstring) now wants to link with libiconv which is not > >> > available on > >> > Android (you

[fpc-devel] Re: Building the Android branch

2012-12-18 Thread Sven Barth
Am 18.12.2012 11:09, schrieb Thomas Schatzl: > There is a new issue I have never seen before that fpdoc (actually > cwstring) now wants to link with libiconv which is not available on > Android (you can build it yourselves though). Simply excluding it from > the android build would fix

[fpc-devel] Re: Building the Android branch

2012-12-18 Thread Thomas Schatzl
Hi, On Tue, 2012-12-18 at 07:30 +0100, Sven Barth wrote: > On 18.12.2012 00:10, Thomas Schatzl wrote: > > Hi, > > > > On Mon, 2012-12-17 at 21:45 +0100, Sven Barth wrote: > >> I'm currently testing the Android branch and I've already reached a > >> problem when trying to build it. I've downlo

[fpc-devel] Re: Building the Android branch

2012-12-17 Thread Sven Barth
On 18.12.2012 00:10, Thomas Schatzl wrote: > Hi, > > On Mon, 2012-12-17 at 21:45 +0100, Sven Barth wrote: >> Hello together! >> >> I'm currently testing the Android branch and I've already reached a >> problem when trying to build it. I've downloaded the current Android NDK >> r8c and then tried t

[fpc-devel] Re: Building the Android branch

2012-12-17 Thread Thomas Schatzl
Hi, On Mon, 2012-12-17 at 21:45 +0100, Sven Barth wrote: > Hello together! > > I'm currently testing the Android branch and I've already reached a > problem when trying to build it. I've downloaded the current Android NDK > r8c and then tried to run the following command line: > > make all OS