<p>Am 24.10.2012 22:08 schrieb "SkyDiablo" <<a href="mailto:skydiablo@gmx.net">skydiablo@gmx.net</a>>:<br>
><br>
> wow ! thats amazing!<br>
><br>
> okay, i create the follow batch-file:<br>
><br>
> =======================================================<br>
> set PATH=C:\lazarus\fpc\2.6.0\bin\i386-win32;C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\lib\gcc<br>
> set PREFIX=mips-linux-<br>
> set BINUTILSDIR="C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin"<br>
> set INSTALLDIR="D:\fpc\install"<br>
><br>
> cd D:\fpc\trunc\2.7.x\fpcbuild\fpcsrc<br>
><br>
> make all OS_TARGET=linux CPU_TARGET=mips BINUTILSPREFIX=%PREFIX% CROSSBINDIR=%BINUTILSDIR%<br>
> make crossinstall OS_TARGET=linux CPU_TARGET=mips BINUTILSPREFIX=%PREFIX% CROSSBINDIR=%BINUTILSDIR% INSTALL_PREFIX=%INSTALLDIR%<br>
><br>
> pause<br>
> =======================================================<br>
><br>
> so, it runs and runs and runs... but then:<br>
></p>
<p>The error says that it can't find the "mips-linux-as" executable which is because there are spaces in the path to it. This is something make handles rather badly...</p>
<p>But you have already a part of the solution: you added the path to PATH. With that you can now simply remove the "CROSSBINDIR=%BINUTILSDIR%" from both commands and it should work.</p>
<p>Regards,<br>
Sven</p>