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

However, when I type fpc anywhere, it should just use the original fpc in /usr/bin
instead of the my own fpc folder

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 <CompilerFilename Value="/usr/bin/fpc">
to <CompilerFilename Value="/home/dennis/fpc">
?

Frankly, I don't understand why I have to BOTH change the compiler path AND change the project's option "Code Generation"->"Target Platform".
That looks redundant to me.

Anyone has any idea will be highly appreciated.

Thanks.
Dennis



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  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3343 / Virus Database: 3199/6396 - Release Date: 06/09/13


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to