On 5/30/2012 4:38 PM, Zaheer Chothia wrote: > Hello, > > I encountered an issue with response files whilst building a shared library > with many object files. When gcc invokes collect2 it doesn't forward the > response file (@xyz.rsp) but rather passes its contents as arguments, which > exhausts the 32KB command line length limit on Windows. *snip* > This problem was previously > reported on the GCC bug tracker [3] and it seems the solution would be to > configure GCC with the "--with-gnu-ld" flag (untested).
I can confirm that using --with-gnu-ld at GCC configure time seems to be the correct fix for this problem. I introduced it into TDM-GCC to resolve a different issue, but the script completes without error for me using 4.6.1-tdm64-1. -John E. / TDM ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
