kripken/emscripten — pull request #546 by rharkeadsk (2012-08-24 21:50:04+00:00)
Title: Work around command-line length limitations on Windows

There are two basic changes:

1. Modify emcc to read response files in the style of gcc or clang;
2. Split the llvm-link step into batches to avoid long command lines.

Build tools like CMake can be configured to use response files, and with these changes, it should be possible to leverage this functionality with Emscripten.