I have a question about the source-code binary on Windows.
#include <stdio.h>
int main()
{
printf("Hello, world!\n");
return 0;
}
The same source code, I compiled twice on Windows (VS 2008 Cmmand Prompt: "CL"), but I got different binaries.
cl new.cpp
Can you guys tell me why, and how to avoid that?
The timestamp is part of PE format. You'll always get different values regardless if compiling as release or not.
Did you compile as release? Debug has timestamps built in which can change your exe per compile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With