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

2013-06-09 Thread Dennis Poon
Also, in Lazarus, it still report /usr/bin/fpc does not support mips-linux. Should I go into the .lazarus folder in my user folder and change the environmentoptions.xml from to ? Frankly, I don't understand why I have to BOTH change the compiler path AND change the project's option "Code

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

2013-06-09 Thread Dennis Poon
Marco, Thanks. I ran: make crossinstall INSTALL_PREFIX=/home/dennis/fpc CPU_TARGET=mips OS_TARGET=linux BINUTILSPREFIX=/usr/mips-linux-gnu/bin/ make clean all install INSTALL_PREFIX=/home/dennis/fpc CPU_TARGET=mips OS_TARGET=linux BINUTILSPREFIX=/usr/mips-linux-gnu/bin/ both went without er

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

2013-06-09 Thread Marco van de Voort
In our previous episode, Dennis Poon said: > make all CPU_TARGET=mips OS_TARGET=linux > make crossinstall INSTALL_PREFIX=/home/dennis/fpc > What should I do next? Pass the same arguments to crossinstall as you did to "all" ___ fpc-pascal maillist -

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

2013-06-09 Thread Dennis Poon
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-lin

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

2013-06-09 Thread Michael Ring
I've browsed through this thread, as fas as I can see you are still on your intel-based linux box and you are trying to build a crosscompiler for mipsel. If this is still correct then your problem at this stage is that you did not define the BINUTILSPREFIX correctly. When you leave this definiti

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

2013-06-09 Thread Dennis Poon
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