<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">so, next one. there was an fail PREFIX
      at all so i change it to "mips-linux-gnu-", this scrips works at
      first:<br>
      <br>
      ===================================================<br>
      set PATH=C:\lazarus\fpc\2.6.0\bin\i386-win32;C:\Program Files
      (x86)\CodeSourcery\Sourcery G++ Lite\lib\gcc;C:\Program Files
      (x86)\CodeSourcery\Sourcery G++ Lite\bin<br>
      set PREFIX=mips-linux-gnu-<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%<br>
      make crossinstall OS_TARGET=linux CPU_TARGET=mips
      BINUTILSPREFIX=%PREFIX% INSTALL_PREFIX=%INSTALLDIR%<br>
      ===================================================<br>
      <br>
      but now, i get the following error:<br>
      <br>
      ===================================================<br>
      C:/lazarus/fpc/2.6.0/bin/i386-win32/ginstall.exe -m 755 -d
      D:\fpc\install/bin/i386-win32<br>
      C:/lazarus/fpc/2.6.0/bin/i386-win32/cp.exe -fp ppcrossmips.exe
      D:\fpc\install/bin/i386-win32/ppcrossmips.exe<br>
      make[4]: Leaving directory
      `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc/compiler'<br>
      make[3]: Leaving directory `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc'<br>
      make rtl_install
      FPC=D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc/compiler/ppcrossmips.exe
      ZIPDESTDIR=D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc
      FPCMAKE=C:/lazarus/fpc/2.6.0/bin/i386-win32/fpcmake.exe<br>
      make[3]: Entering directory `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc'<br>
      make -C rtl install<br>
      make[4]: Entering directory
      `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc/rtl'<br>
      make -C linux all<br>
      make[5]: Entering directory
      `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc/rtl/linux'<br>
      make[5]: Leaving directory
      `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc/rtl/linux'<br>
      C:/lazarus/fpc/2.6.0/bin/i386-win32/fpcmake.exe -p -Tmips-linux
      Makefile.fpc<br>
      Processing Makefile.fpc<br>
      Error: No targets set<br>
      make[4]: *** [fpc_install] Error 1<br>
      make[4]: Leaving directory
      `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc/rtl'<br>
      make[3]: *** [rtl_install] Error 2<br>
      make[3]: Leaving directory `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc'<br>
      make[2]: *** [installbase] Error 2<br>
      make[2]: Leaving directory `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc'<br>
      make[1]: *** [installall] Error 2<br>
      make[1]: Leaving directory `D:/fpc/trunc/2.7.x/fpcbuild/fpcsrc'<br>
      make: *** [crossinstall] Error 2<br>
      ===================================================<br>
      <br>
      any idea ?<br>
      <br>
      greez & thx,<br>
        sky...<br>
      <br>
      Am 25.10.2012 08:39, schrieb Sven Barth:<br>
    </div>
    <blockquote
cite="mid:CAFMUeB_+-fVQeYkLwJyvCDc0zm-=Ok_LhF93Y=zsjD+CFjr4kg@mail.gmail.com"
      type="cite">
      <p>Am 24.10.2012 22:08 schrieb "SkyDiablo" <<a
          moz-do-not-send="true" 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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>