Menu

dllwrap / Win2000 : Input line too long

2002-09-05
2012-09-26
  • Nobody/Anonymous

    Hi,

    I'm currently testing Dev-C++ and trying to link upon an imported MS VStudio project.

    The import went smoothly, compilation didn't raise much problems.

    But at link, due to the number of object files to integrate, the command line expanded by GNU make seems to choke Windows 2000 possibilities (2048 characters, I think).
    Message is :
    "
    <snip>
    dllwrap <link options and long object files list>
    The input line is too long.
    make.exe *** [Test.dll] Error 255
    "

    Is there a known workaround for this problem?

    Or is the command line limiting the number of object files a Dev C++ project can generate to link a DLL library?

    Thanks.

    J.

     
    • Nobody/Anonymous

      Investigating further, I have included a file in the makefile settings for the project.

      In the file, I specified "
      SHELL=C:\Dev-Cpp\bin\bash.exe
      ".

      The makefile tries to launch the command line with bash, with a correct looking, but still long, linkage command line.

      But it fails on the following message "
      make (e=87): The parameter is incorrect.
      make.exe: *** [Test.dll] Error 87
      Execution terminated
      "

      It behaves the same with the sh.exe shell.

      Thanks.

      J.

       
      • Garth Dahlstrom

        Garth Dahlstrom - 2002-10-07

        not sure what causes this, but I got it too for a while...

         
    • Nobody/Anonymous

      Basically my question is : what happens when the makefile lines generated by devcpp and expanded by make are too long for winnt / 2000 / xp shell?

      Any workaround available?

      J.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.