[fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

Dennis Poon dennis at avidsoft.com.hk
Sun Jun 9 12:54:22 CEST 2013


Sven,
> make all CPU_TARGET=mipsel OS_TARGET=linux BINUTILSPREFIX=
>

my  fpc folder is /home/dennis/fpc

I already login as root and issue the above command as you instructed 
but I got:

/bin/rm -f /home/dennis/fpc/rtl/units/mipsel-linux/math.rst 
/home/dennis/fpc/rtl/units/mipsel-linux/varutils.rst 
/home/dennis/fpc/rtl/units/mipsel-linux/typinfo.rst 
/home/dennis/fpc/rtl/units/mipsel-linux/variants.rst 
/home/dennis/fpc/rtl/units/mipsel-linux/sysconst.rst 
/home/dennis/fpc/rtl/units/mipsel-linux/rtlconsts.rst 
/home/dennis/fpc/rtl/units/mipsel-linux/stdconvs.rst
/bin/rm -f fpcmade.mipsel-linux Package.fpc ./ppas.sh script.res link.res
/bin/rm -f *.s *_ppas.sh
make[5]: Leaving directory `/home/dennis/fpc/rtl/linux'
make[4]: Leaving directory `/home/dennis/fpc/rtl'
make -C /home/dennis/fpc/rtl 'OPT=  ' all
make[4]: Entering directory `/home/dennis/fpc/rtl'
make -C linux all
make[5]: Entering directory `/home/dennis/fpc/rtl/linux'
as -32 -mips32 -EL -o /home/dennis/fpc/rtl/units/mipsel-linux/prt0.o 
mipsel/prt0.as
as: unrecognized option '-mips32'
make[5]: *** [prt0.o] Error 1
make[5]: Leaving directory `/home/dennis/fpc/rtl/linux'
make[4]: *** [linux_all] Error 2
make[4]: Leaving directory `/home/dennis/fpc/rtl'
make[3]: *** [rtl] Error 2
make[3]: Leaving directory `/home/dennis/fpc/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory `/home/dennis/fpc/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `/home/dennis/fpc'
make: *** [build-stamp.mipsel-linux] Error 2

Any idea what happened?

Thanks.

Dennis



More information about the fpc-pascal mailing list