yrnkrn / zapcc

zapcc is a caching C++ compiler based on clang, designed to perform faster compilations
Other
1.25k stars 61 forks source link

MSVC ABI support #28

Closed jdarpinian closed 5 years ago

jdarpinian commented 5 years ago

How much work would it be to implement support for the MSVC ABI?

yrnkrn commented 5 years ago

The MSVC ABI specific code needs to be modified to support unloading, debugged and regression tests extended as needed. I have modified the code in many locations already but the modifications are incomplete and mostly untested since there was much more interest in the Linux release of zapcc. Would probably take one man-year assuming existing knowledge of zapcc or at least clang code.

jdarpinian commented 5 years ago

Thanks for the estimate, that's much more work than I expected. I just built mingw zapcc and tried it out. Compilation is super fast, I love it! However mingw's linker is so slow that incremental builds are overall much slower than clang-cl or MSVC. Unfortunately I think zapcc is not useful on Windows until the MSVC ABI is supported.

yrnkrn commented 5 years ago

Yes, this is exactly right.