User forums > General (but related to Code::Blocks)
Long link command truncated!
jay3d:
Hi,
In Code::Blocks when creating a DLL, I have to include many objects in the link command which makes it very long, but Code::Blocks
truncate the command to 65535 characters which makes the link fail.
Is there any setting to increase the command line length?
Cheers!
MortenMacFly:
--- Quote from: jay3d on October 12, 2012, 01:20:39 pm ---Is there any setting to increase the command line length?
--- End quote ---
This is either a Windows, or a wxWidgets limitation IIRC, unfortunately. You an (however) try to use the "flat objects" option.
jay3d:
--- Quote from: MortenMacFly on October 12, 2012, 01:27:27 pm ---You can (however) try to use the "flat objects" option.
--- End quote ---
Thanks! with that option I can now see the full command issued, but it's still giving me "Execution of 'mingw32-g++.exe ... ' in ' ... ' failed"
There's no error message from the linker itself, the OS might still truncating the command?
Cheers!
MortenMacFly:
--- Quote from: jay3d on October 12, 2012, 02:20:15 pm ---There's no error message from the linker itself, the OS might still truncating the command?
--- End quote ---
Can you post the full command or (even better) the full compiler log?
jay3d:
--- Quote from: MortenMacFly on October 12, 2012, 02:22:01 pm ---Can you post the full command or (even better) the full compiler log?
--- End quote ---
This is pretty long, so I made it an attachment.
Thanks!
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
Go to full version