Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Bo Berglund
On Tue, 10 Jan 2017 15:10:05 +0100, Mattias Gaertner wrote: >On Tue, 10 Jan 2017 14:26:20 +0100 >Bo Berglund wrote: > >>[...] >> I found the system.ppu as follows: >> >> ~ $ find /home/pi/ -name system.ppu >>

[fpc-pascal] javapp

2017-01-10 Thread Jon Foster
In figuring out Android programming with FPC I've read about the "javapp" tool. However when I try to do anything with it spends some time doing nothing and then outputs empty files. I downloaded and am using the prebuilt jasmin and javapp that was provide by a link to an archive in the wiki

Re: [fpc-pascal] bitwise operations using AND, OR, XOR, NOT

2017-01-10 Thread Bernd Oppolzer
Am 08.01.2017 um 23:04 schrieb Sven Barth: This depends on the Pascal compiler you use; the old Wirth "Standard" yields syntax errors, if you use and etc. on types other than boolean: We're here on the FPC mailing list, so I personally only care about the capabilities of FPC and that

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Bo Berglund
On Thu, 5 Jan 2017 02:07:00 +0100 (CET), "Karoly Balogh (Charlie/SGR)" wrote: >Hi, > >On Thu, 5 Jan 2017, Bo Berglund wrote: > >> I just need the seed compiler to be able to build FPC from sources. >> And build Lazarus of course. > >Then you need "ppcarm" from that

Re: [fpc-pascal] ppcjvm issues

2017-01-10 Thread Michael Schnell
On 10.01.2017 05:13, Jon Foster wrote: On 01/07/2017 10:39 AM, leledumbo wrote: So that leaves me with the question: What about destructors? Must I call free/destroy on all objects I create, or do they self-destruct? If so destroy or free? AFAIU, in fpc destroying any objects is mandatory.

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Bo Berglund
On Tue, 10 Jan 2017 11:30:35 +0100, Mattias Gaertner wrote: >Lazarus does not need the FPC sources for building. > > >>[...] >> (3104) Compiling fcllaz.pas >> Fatal: (10022) Can't find unit system used by fcllaz >> Fatal: (1018) Compilation aborted >> >> The file

Re: [fpc-pascal] ppcjvm issues

2017-01-10 Thread Sven Barth
Am 10.01.2017 06:06 schrieb "Jon Foster" : > What I don't quite get from your example is using "self" as the second argument to setPositiveButton() & setNegativeButton. That parameter is asking for an OnClickListener() class. When I tried that I received a compile

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Mattias Gaertner
On Tue, 10 Jan 2017 09:08:55 +0100 Bo Berglund wrote: >[...] > It looks like Lazarus needs to know where the fpc sources are located > because I always get this error when trying to build lazarus bigide > the first time: Lazarus does not need the FPC sources for building.

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Mattias Gaertner
On Tue, 10 Jan 2017 14:26:20 +0100 Bo Berglund wrote: >[...] > I found the system.ppu as follows: > > ~ $ find /home/pi/ -name system.ppu > /home/pi/lib/fpc/3.0.0/units/arm-linux/rtl/system.ppu > > Given that path, what would the correct fpc.cfg setting be? > Something