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
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
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 -
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
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
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