[fpc-pascal] mips linux cross compiled application error

2015-11-09 Thread czd
Hi all, I have compiled a simple mips/linux application with using raspberry pi, when I execute the app. it replies with this error. Device is onion omega. Illegal instruction. Here is my application output and the source. file testmips testmips: ELF 32-bit MSB executable, MIPS, MIPS32 version 1

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-09 Thread Martin Schreiber
On Monday 09 November 2015 23:57:30 Bo Berglund wrote: > On Mon, 9 Nov 2015 15:19:12 +0100, Martin Schreiber > > wrote: > >On Monday 09 November 2015 11:35:05 Mark Morgan Lloyd wrote: > >> So. I'd suggest that you start off with Martin's binary, build the > >> matching 2.6.4, > > > >FPC 2.6.4 has

Re: [fpc-pascal] What is the svn url for fpc release 2.6.4

2015-11-09 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Mon, 09 Nov 2015 17:03:42 +, Mark Morgan Lloyd wrote: Bo Berglund wrote: I have googled extensively now and not found this, so please tell me how I can get fpc 2.6.4 sources from svn. svn co http://svn.freepascal.org/svn/fpc/tags/fpc_2_6_4 fpc-2.6.4 did not work...

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-09 Thread Bo Berglund
On Mon, 9 Nov 2015 15:19:12 +0100, Martin Schreiber wrote: >On Monday 09 November 2015 11:35:05 Mark Morgan Lloyd wrote: >> >> So. I'd suggest that you start off with Martin's binary, build the >> matching 2.6.4, > >FPC 2.6.4 has no support for EABIHF AFAIK. I have a patched 2.6.4 version with

Re: [fpc-pascal] What is the svn url for fpc release 2.6.4

2015-11-09 Thread Bo Berglund
On Mon, 09 Nov 2015 17:03:42 +, Mark Morgan Lloyd wrote: >Bo Berglund wrote: >> I have googled extensively now and not found this, so please tell me >> how I can get fpc 2.6.4 sources from svn. >> svn co http://svn.freepascal.org/svn/fpc/tags/fpc_2_6_4 fpc-2.6.4 did >> not work... > >Use the

Re: [fpc-pascal] What is the svn url for fpc release 2.6.4

2015-11-09 Thread Mark Morgan Lloyd
Bo Berglund wrote: I have googled extensively now and not found this, so please tell me how I can get fpc 2.6.4 sources from svn. svn co http://svn.freepascal.org/svn/fpc/tags/fpc_2_6_4 fpc-2.6.4 did not work... Don't. Use the source link at http://www.freepascal.org/download.var If you really

Re: [fpc-pascal] What is the svn url for fpc release 2.6.4

2015-11-09 Thread Bo Berglund
On Mon, 9 Nov 2015 17:15:06 +0100, Sven Barth wrote: >Am 09.11.2015 17:05 schrieb "Bo Berglund" : >> >> I have googled extensively now and not found this, so please tell me >> how I can get fpc 2.6.4 sources from svn. >> svn co http://svn.freepascal.org/svn/fpc/tags/fpc_2_6_4 fpc-2.6.4 did >> not

Re: [fpc-pascal] What is the svn url for fpc release 2.6.4

2015-11-09 Thread Sven Barth
Am 09.11.2015 17:05 schrieb "Bo Berglund" : > > I have googled extensively now and not found this, so please tell me > how I can get fpc 2.6.4 sources from svn. > svn co http://svn.freepascal.org/svn/fpc/tags/fpc_2_6_4 fpc-2.6.4 did > not work... It's release_2_6_4 not fpc_2_6_4. Regards, Sven __

[fpc-pascal] What is the svn url for fpc release 2.6.4

2015-11-09 Thread Bo Berglund
I have googled extensively now and not found this, so please tell me how I can get fpc 2.6.4 sources from svn. svn co http://svn.freepascal.org/svn/fpc/tags/fpc_2_6_4 fpc-2.6.4 did not work... -- Bo Berglund Developer in Sweden ___ fpc-pascal maillist

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-09 Thread Martin Schreiber
On Monday 09 November 2015 11:35:05 Mark Morgan Lloyd wrote: > > So. I'd suggest that you start off with Martin's binary, build the > matching 2.6.4, FPC 2.6.4 has no support for EABIHF AFAIK. I have a patched 2.6.4 version with EABIHF support but I suggest to use FPC 3.0 or fixes_3_0 instead. I

Re: [fpc-pascal] Changing iterator usage pattern in FCL-STL

2015-11-09 Thread Marcos Douglas
On Mon, Nov 9, 2015 at 7:47 AM, Graeme Geldenhuys wrote: > Not to be a stickler, but that is not an ideal interface either (in my > eyes). Not everything is a "file", so EOF (End-of-File) was really not a > good choice. eg: Iterating characters in a String, Objects in a > ObjectList etc... none re

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-09 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Sun, 08 Nov 2015 16:18:51 +, Mark Morgan Lloyd wrote: Bo Berglund wrote: I think my 2.6.4 is OK because I got it as follows (from my notes): wget http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar tar xvf fpc-2.6.4.arm-linux.tar cd f

Re: [fpc-pascal] Changing iterator usage pattern in FCL-STL

2015-11-09 Thread Graeme Geldenhuys
On 2015-11-08 18:38, leledumbo wrote: > It := SomeContainer.Iterator; > while not It.EOF do begin > ... > It.Next; > end; Not to be a stickler, but that is not an ideal interface either (in my eyes). Not everything is a "file", so EOF (End-of-File) was really not a good choice. eg: Iterating c

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-09 Thread Bo Berglund
On Sun, 08 Nov 2015 16:18:51 +, Mark Morgan Lloyd wrote: >Bo Berglund wrote: >> I think my 2.6.4 is OK because I got it as follows (from my notes): >> wget >> http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar >> tar xvf fpc-2.6.4.arm-linux.tar >> cd fpc-2.6.

Re: [fpc-pascal] Changing iterator usage pattern in FCL-STL

2015-11-09 Thread leledumbo
> I'd say don't change. In my opinion the need to restructure one's code outweighs that disadvantage. If anything then add a for-in compatible iterator like was done for TVector<>. Didn't realize that the support is already there, I'll just change to for-in loop then. Silly me :S -- View thi