MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM
Re: "official" MAME exe compiler settings?
09/19/12 07:42 PM


> > Strip the exe afterwards and it'll come much closer. (Exact matches aren't possible
> > unless you compile in the same path at the same time).
>
> Compilers should be deterministic, so the actual binary output should be identical
> with the same compiler version and settings. The object files should be the same.
> Once everything's linked, the windows resource properties will be different because
> of timestamps, but the final exe should be the same size.

The actual binary code and data *are* identical, assuming you use the same settings and optimize for the same processor as the official build. But modern executables include significant amounts of metadata, including the timestamp and absolute paths involved in the compile. You're unlikely to get a perfect checksum match between two compiles of the same source unless you distill all the way down to a bare binary (like DOS .COM files were).







Entire thread
Subject Posted by Posted on
* "official" MAME exe compiler settings? krick 09/19/12 06:17 AM
. * Re: "official" MAME exe compiler settings? Anonymous  09/19/12 04:08 PM
. * Re: "official" MAME exe compiler settings? krick  09/23/12 05:24 PM
. * Re: "official" MAME exe compiler settings? B2K24  09/19/12 07:32 AM
. * Re: "official" MAME exe compiler settings? R. Belmont  09/19/12 06:23 PM
. * Re: "official" MAME exe compiler settings? krick  09/19/12 07:01 PM
. * Re: "official" MAME exe compiler settings? R. Belmont  09/19/12 07:42 PM
. * Re: "official" MAME exe compiler settings? krick  09/19/12 08:25 PM
. * Re: "official" MAME exe compiler settings? Anonymous  09/21/12 07:22 PM
. * Re: "official" MAME exe compiler settings? krick  09/19/12 07:49 AM
. * Re: "official" MAME exe compiler settings? TafoidAdministrator  09/19/12 11:46 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 337 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1888