Skip to content

Use separate link options file for the bytecode linker to avoid long command lines

Camil Staps requested to merge bclink-options-file into master

With large projects and long paths, the call to ByteCodeLinker.exe (which needs all .bc files) could become too large for the Windows command line limits (32768 chars). In I added a -f option to the linker to be able to read input files from a separate file; this patch uses that in cpm/the IDE.

!22 (merged) is still useful to give meaningful error messages should the same problem occur elsewhere in the future.

Merge request reports