[fpc-devel] cannot compile fpc 2.6.0 for mips

Andrew Haines AndrewD207 at aol.com
Sat Jan 7 06:33:59 CET 2012


Hi,

I was trying to build a cross complier for mips-linux and met this error:

make crossinstall PP=/usr/local/lib/fpc/2.6.0/ppcx64 OS_TARGET=linux
CPU_TARGET=mipsel
....
make[4]: Entering directory
`/home/andrew/programming/fpc-2.6.0/packages/fcl-web'
./fpmake clean --localunitdir=../.. --globalunitdir=.. --os=linux
--cpu=mipsel -o -Pmipsel -o -XPmipsel-linux- -o -Xr -o -Ur -o -Xs -o -O2
-o -n -o -Fu/home/andrew/programming/fpc-2.6.0/rtl -o
-Fu/home/andrew/programming/fpc-2.6.0/packages/hash -o
-Fu/home/andrew/programming/fpc-2.6.0/packages/paszlib -o
-Fu/home/andrew/programming/fpc-2.6.0/packages/fcl-process -o
-Fu/home/andrew/programming/fpc-2.6.0/packages/fpmkunit -o -FE. -o
-FUunits/mipsel-linux -o -dmipsel -o -dRELEASE
--compiler=/home/andrew/programming/fpc-2.6.0/compiler/ppcross
An unhandled exception occurred at $0000000000423596 :
EInstallerError : Invalid CPU name "mipsel"
  $0000000000423596
  $000000000042BEC1
  $000000000042B70C
  $000000000042E015
  $000000000043BE2B
  $000000000043BE67
  $0000000000400278

make[4]: *** [clean] Error 217

Anybody know which version of fpc supports mips the best?

Regards,

Andrew



More information about the fpc-devel mailing list