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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
not sure what causes this, but I got it too for a while...
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.