binary-reproducibility

Yagarto (GCC, Win32) compiles same code differently on different PCs

I am using a Yagarto toolchain on Windows to compile a codebase of about 100K lines of code. We have two development PCs. However, they each build slightly different binaries despite having the same toolchain and building the same source code. I have checked using MD5 that we have the same compiler...

Compiling Twice with Delphi 6 and getting the same checksum on the binary

For the purposes of binary / source code verification, i'd like to be able to make two compiles on the same computer 2 weeks apart and have the binaries be identical and thus pass some checksum test. So far I've found that most likely the timestamp will be written by the compiler into the binary. I...

Why don't two binaries of programs with only comments changed exactly match in gcc?

I created two C programs Program 1 int main() { } Program 2 int main() { //Some Harmless comments } AFAIK, when compiling, the compiler(gcc) should ignore the comments and redundant whitepaces, and hence the output must be similar. But when I checked the md5sums of the output binaries, they don't...

Determine whether .NET assemblies were built from the same source

Does anyone know of a way to compare two .NET assemblies to determine whether they were built from the "same" source files? I am aware that there are some differencing utilities available, such as the plugin for Reflector, but I am not interested in viewing differences in a GUI, I just want an...

Why is the binary output not equal when compiling again?

I'm using a build script to compile several C# projects. The binary output is copied to a result folder, overwriting the previous version of the files, and then added/committed to subversion. I noticed that the binary output of the compilation are different even when there was no change to the...