3 ms·
Has anyone fought Microsoft Visual Studio successfully to produce reproducible builds of C++ programs? From what I have heard, it is one of the worst contexts t
by inglor_cz 6mo ago
Has anyone fought Microsoft Visual Studio successfully to produce reproducible builds of C++ programs? From what I have heard, it is one of the worst contexts to do it.
- azkalam 6mo agoProbably easiest way is to use Bazel to leverage the effort that has gone in there
- einpoklum 6mo agoWell, you can't build MSVS yourself, reproducibly or otherwise, so this is a less appealing endeavor I would think.
- Dwedit 6mo agoIt's that RICH header that you need to exclude. I just tested my copy of MSVC 2019, and `/emittoolversioninfo:no` will exclude the RICH header from the binary. Supposedly also works in MSVC 2022. The build timestamps in the PE header and export table are also a problem as well.