Am 24.10.2012 22:08 schrieb "SkyDiablo" <[email protected]>: > > wow ! thats amazing! > > okay, i create the follow batch-file: > > ======================================================= > set PATH=C:\lazarus\fpc\2.6.0\bin\i386-win32;C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\lib\gcc > set PREFIX=mips-linux- > set BINUTILSDIR="C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin" > set INSTALLDIR="D:\fpc\install" > > cd D:\fpc\trunc\2.7.x\fpcbuild\fpcsrc > > make all OS_TARGET=linux CPU_TARGET=mips BINUTILSPREFIX=%PREFIX% CROSSBINDIR=%BINUTILSDIR% > make crossinstall OS_TARGET=linux CPU_TARGET=mips BINUTILSPREFIX=%PREFIX% CROSSBINDIR=%BINUTILSDIR% INSTALL_PREFIX=%INSTALLDIR% > > pause > ======================================================= > > so, it runs and runs and runs... but then: >
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... 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. Regards, Sven
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
