Menu

#181 cmd string length limitation problem at linking stage on WinXP32

Next release
closed-out-of-date
5
2015-05-04
2015-04-29
tristan
No

[Resolution: using an up-to-date version of Build Tools solved the problem]

plug-in version: 2.8.1-201504061754
Eclipse version: eclipse CDT kepler SR2
Java version: 1.7.0_21
operating system: WinXP 32
toolchain version: Sourcery_CodeBench_Lite_for_ARM_EABI
steps to reproduce the bug:
Add lots of source files to the project, or organize source files in deep folder trees, to make cmd string length exceed 8191 bytes(maximun length on winxp) at linking stage, then error occurs complaining "command too long"

following urls may help:
http://stackoverflow.com/questions/3205027/maximum-length-of-command-line-string
https://support.microsoft.com/en-us/kb/830473

Discussion

  • Liviu Ionescu (ilg)

    • status: open --> open-accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    please use the latest Build Tools package, and be sure you keep the bin folder where the sh.exe executable must reside, and let me know the result.

    the problem is related to the make you are using (very old), and to the lack of bin/sh.exe.

    I also suggest to update to the latest version of Eclipse.

     
  • tristan

    tristan - 2015-04-30

    Thx, I update to the latest Build Tools and problem solved

     
  • Liviu Ionescu (ilg)

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,5 @@
    +[Resolution: using an up-to-date version of Build Tools solved the problem]
    +
     plug-in version: 2.8.1-201504061754
     Eclipse version: eclipse CDT kepler SR2
     Java version: 1.7.0_21
    
    • status: open-accepted --> closed-out-of-date