[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 18:56:59 CEST 2013
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 at 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
>
>
>
More information about the fpc-pascal
mailing list