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

2015-11-10 Thread Mark Morgan Lloyd
Martin Schreiber wrote: 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

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

2015-11-10 Thread Martin Schreiber
On Tuesday 10 November 2015 09:48:23 Mark Morgan Lloyd wrote: > > > > Yes. And I recommend to use cross compiling and debugging from a X86 > > Linux PC: > > http://www.mail-archive.com/lazarus%40lists.lazarus.freepascal.org/msg504 > >06.html > > On that we'll have to disagree. The RPi, particularl

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

2015-11-10 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Tuesday 10 November 2015 09:48:23 Mark Morgan Lloyd wrote: Yes. And I recommend to use cross compiling and debugging from a X86 Linux PC: http://www.mail-archive.com/lazarus%40lists.lazarus.freepascal.org/msg504 06.html On that we'll have to disagree. The RPi, partic

Re: [fpc-pascal] mips linux cross compiled application error

2015-11-10 Thread Mark Morgan Lloyd
czd wrote: 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, MIP

Re: [fpc-pascal] mips linux cross compiled application error

2015-11-10 Thread Sven Barth
Am 10.11.2015 10:38 schrieb "Mark Morgan Lloyd" < markmll.fpc-pas...@telemetry.co.uk>: > I think you need to give us more information about how you've built and how you're invoking the compiler. Also I notice from https://onion.io/omega/ that it runs OpenWRT, I'm not sure what the situation is with

Re: [fpc-pascal] mips linux cross compiled application error

2015-11-10 Thread czd
The board that I mention looks like Big endian mips system so I checked and recompile the binutils again with these parameters. ./configure --target=mips-linux --prefix=/usr/local --bindir=/usr/bin --program-prefix=mips-linux- And here is the fpc compile steps. make distclean OS_TARGET=linux CP

Re: [fpc-pascal] mips linux cross compiled application error

2015-11-10 Thread Mark Morgan Lloyd
czd wrote: The board that I mention looks like Big endian mips system so I checked and recompile the binutils again with these parameters. Big-endian... kinky :-) ./configure --target=mips-linux --prefix=/usr/local --bindir=/usr/bin --program-prefix=mips-linux- And here is the fpc compile st