When compiling on MinGW under cmd.exe it's necessary to use @FILE to work
around the 32k limit on arguments when linking a large number of objects.
Unfortunately for some reason collect2.exe does not forward the file to ld.exe
but instead appears to send its contents as arguments to CreateProcess()
leading to the error:
collect2: CreateProcess: No such file or directory
Which is the typically unhelpful way for Windows to report this problem and
something that led me on a 4 day goose-chase looking for the "missing" file or
Really if I tell collect2 to use a response file it's absolutely essential it
uses it internally or else finds some other way around the 32k barrier (like
piping to stdin).
Summary: Response file unwrapped between collect2.exe and ld.exe
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bogus2 at arc dot net dot au