[fpc-devel] cannot compile fpc 2.6.0 for mips

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Sun Jan 8 09:36:44 CET 2012


Andrew Haines wrote:
> 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?

If you progress beyond my effort described at 
http://wiki.lazarus.freepascal.org/Native_MIPS_Systems please update the 
page accordingly.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list