Thats the fpc log when compiling under Linux/mips (OpenWRT) system. Has
someone any idea?
root@Omega-28F6:~/onion-omega/fpc-test# fpc -Tlinux -Pmips hello.pas -va
[0.008] Macro defined: LINUX
[0.009] Macro defined: UNIX
[0.010] Macro defined: HASUNIX
[0.012] Macro defined: FPC_REQUIRES_PROPER_ALI
Hi all,
Soon the cross compilation works fine then I tried to compile without cross.
:)
I compiled fpc for the linux/mips platform. But when I try to compile the
test application error occurs like that.
root@Omega-28F6:~/onion-omega/fpc-test# ppcmips hello.pas
Free Pascal Compiler version 3.1.1 [
Congratulations for the new fpc compiler and the developers, soon I achieved
to compile a simple test program for mips/linux platform. As I wrote before
my simple device is onion/omega and here is the cpuinfo and compiled
application(attached). It complains with the Illegal instruction replied..
Th
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
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
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
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