From: Paul Millar <paulm@as...> - 2004-03-16 14:40:00
I'm using mingw to cross-build some Windows applications under Linux as
part of a rolling-CVS build. Sometimes the changes in CVS don't make any
difference to the executables, so I'd like to be able to compare the build
with the previous ones to see if they're genuinely different.
Unfortunately, a simple cmp doesn't work as the executables have some
time-dependent fields encoded into the PE (like the build-time). Simply
skipping the header bytes doesn't work if the exe was built by linking
multiple files together, each with their own time-dependent fields.
So, does anyone know how to prevent mingw from writing time-dependent
fields? (or any other way of solving this problem).