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.