NO

Author Topic: same sourcecode makes different exe  (Read 2407 times)

Franzki

  • Guest
same sourcecode makes different exe
« on: December 09, 2009, 11:08:25 AM »
Just a strange question...

I have 2 executables created from the same sourcecode with identical project settings. But a binairy compare shows the executables differ one byte at two positions. Is there some time-stamping around in the compiler or linker that causes a different executable is generated everytime I compile and link the project?

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: same sourcecode makes different exe
« Reply #1 on: December 09, 2009, 03:42:18 PM »
Just a strange question...

I have 2 executables created from the same sourcecode with identical project settings. But a binairy compare shows the executables differ one byte at two positions. Is there some time-stamping around in the compiler or linker that causes a different executable is generated everytime I compile and link the project?

Yes, the header of an executable (PE-File) includes the timestamp of building. PODUMP /HEADERS can show you the timestamp.

At http://msdn.microsoft.com/en-us/library/ms809762.aspx you can read something about the PE-format.
best regards
 Alex ;)