Yes that is a good step towards fully deterministic build.
There are ways to manipulate the PE file though to achieve slightly different behaviour.
If you want to be thorough and make sure that your binary was not infected by malware for example then comparing the binaries makes sense.
Comments
Yes that is a good step towards fully deterministic build. There are ways to manipulate the PE file though to achieve slightly different behaviour. If you want to be thorough and make sure that your binary was not infected by malware for example then comparing the binaries makes sense.