Index: tools/win/supalink/README |
diff --git a/tools/win/supalink/README b/tools/win/supalink/README |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a809e8efee331c0b4c9455b9250d830b4a74d6dd |
--- /dev/null |
+++ b/tools/win/supalink/README |
@@ -0,0 +1,17 @@ |
+Linker shim that enables the use of "Use Library Dependency Inputs" on |
+large exe/dlls via Visual Studio. |
+ |
+That flag is required to enable useful incremental linking, however, with a |
+large number of objects in components, the linker fails with: |
+ |
+...RSP00002E45885644.rsp : fatal error LNK1170: line in command file contains 131071 or more characters |
+ |
+This seems to be that the IDE team didn't talk to the linker team; the |
+response file can handle long commands, just all the files can't be on |
+*one* line which is what the IDE generates. |
+ |
+So, this program simply replaces link.exe, fixes the response file, and |
+then shells to the original linker. Ridiculous? Yes. Faster links? Yes. |
+ |
+Compile/install with install_supalink.py. Run from cmd.exe as Administrator, |
+and make sure to run vsvars32.bat first. |