|Long argument list [message #902662]
||Sun, 19 August 2012 08:09
| db666 san
Registered: August 2012
I'm currently building a 800+ file "shared library" project in CDT using MingW and am hitting a weird behaviour for which I don't have an answer. The current scenario is:
1) I have set up CDT using MingW toolchain
2) I had to manipulate the path variable so that it finds all the executables
3) After doing all the necessary adjustments, I'm finally able to build the "object" files for the C++ files of my project.
4) *But* the catch is that whenever CDT tries to "link" all those object files in a DLL, I think I'm hitting a "long argument list" error which CDT shows as "g++: CreateProcess: No such file or directory" in the console window. I guess this because all those object files are part of the command which results in a 32K long command. I thought CDT would transparently handle this but for some reason it doesn't.
5) I'm able to build the same project successfully in Visual Studio and visual studio is emitting pretty much the same command.
So my question: is it possible to make CDT behave the same way Visual Studio does and make it handle the "long" argument list properly?
[Updated on: Sun, 19 August 2012 08:10]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.11430 seconds