[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 17:43:46 CEST 2013
Michael,
Thanks for your advice.
My binutils as , ld etc files are located at /usr/mips-linux-gnu/bin/
so I
make all CPU_TARGET=mips OS_TARGET=linux
BINUTILSPREFIX=/usr/mips-linux-gnu/bin/
and this time, no errors ! And I can find the resultant *.o *.ppu in
/home/dennis/fpc/rtl/units/mips-linux/
and the cross compiler programs: ppccrossmips and ppcmips are stored at
/home/dennis/fpc/compiler/
However, I then followed the MIPS_port doc to the next step:
make crossinstall INSTALL_PREFIX=/home/dennis/fpc
and I got the following errors:
make compiler_install FPC=/home/dennis/fpc/compiler/ppc386
ZIPDESTDIR=/home/dennis/fpc
FPCMAKE=/home/dennis/fpc/utils/fpcm/bin/i386-linux/fpcmake
make[3]: Entering directory `/home/dennis/fpc'
make -C compiler install
make[4]: Entering directory `/home/dennis/fpc/compiler'
make -C utils install
make[5]: Entering directory `/home/dennis/fpc/compiler/utils'
make[5]: Nothing to be done for `install'.
make[5]: Leaving directory `/home/dennis/fpc/compiler/utils'
/usr/bin/install -m 755 -d /home/dennis/fpc/lib/fpc/2.7.1
/usr/bin/install -c -m 755 ppcross386
/home/dennis/fpc/lib/fpc/2.7.1/ppcross386
/usr/bin/install: cannot stat `ppcross386': No such file or directory
make[4]: *** [exeinstall] Error 1
make[4]: Leaving directory `/home/dennis/fpc/compiler'
make[3]: *** [compiler_install] Error 2
make[3]: Leaving directory `/home/dennis/fpc'
make[2]: *** [installbase] Error 2
make[2]: Leaving directory `/home/dennis/fpc'
make[1]: *** [installall] Error 2
make[1]: Leaving directory `/home/dennis/fpc'
make: *** [crossinstall] Error 2
What should I do next?
Dennis
>Then please now try to compile, this time add
BINUTILSPREFIX=mipsel-linux-gnu- to the make command
More information about the fpc-pascal
mailing list