On Sunday, 19 June 2016 at 18:23:06 UTC, Jakob Bornecrantz wrote:
That will be annoying, the LDC that works with SPIR-V wont be able to produce MSVC compatible exes. Lets hope they mainline it soon.

One possible solution for this would be a thin driver executable that parses just enough of the command line to detect the target triple used, and then forwards to the correct "real" compiler executable.

Such a separate driver could then also be used as part of the regular distribution to improve the performance on memory-constrained all-at-once builds, by freeing all the frontend/LLVM memory (i.e., terminating the process) before invoking the linker, which can take a substantial amount of memory for huge binaries too.

 — David

Reply via email to