MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

Zaghadka
MAME Groupie
Reged: 04/26/11
Posts: 115
Send PM


Large size of official MAME 0.144 binary
#268935 - 11/18/11 05:22 AM


I was comparing the size of Mame64.exe that I had compiled, to the official MAME0144b binary, and noticed that it is a full 38MB bigger than my binary (109,712,009 bytes, vs. 69,312,000). The other official binaries (32-bit and 686) reflect that smaller size, around 64MB.

I compiled without any special ARCHOPTS.

Any idea why the official Mame64 is so much bigger?



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: Large size of official MAME 0.144 binary new [Re: Zaghadka]
#268943 - 11/18/11 06:16 AM


Are you using the same tools? Are you using UPX? What is you exact command to build MAME?



Llaffer
MAME Fan
Reged: 05/04/11
Posts: 231
Send PM


Re: Large size of official MAME 0.144 binary new [Re: Zaghadka]
#268949 - 11/18/11 07:20 AM


I compiled my own version off of the base source, and I get the same file size as the "official" file (69,312,000 bytes).



hap
Reged: 12/01/08
Posts: 296
Send PM


Re: Large size of official MAME 0.144 binary new [Re: Zaghadka]
#268962 - 11/18/11 10:59 AM


probably reason is that it's compiled with:
SYMBOLS=1
SYMLEVEL=1
OPTIMIZE=3



Zaghadka
MAME Groupie
Reged: 04/26/11
Posts: 115
Send PM


Re: Large size of official MAME 0.144 binary new [Re: redk9258]
#269372 - 11/23/11 10:33 AM


I apologize. I got my post backward when I related the sizes. This post should clear it up.

The official MAME binary that I downloaded is larger. I just downloaded it again, and it is still very large. The binary contained in mame0144b_64bit.exe is around 104MB.

My compiled binary, using the official mingw64 tools and the default makefile, came out to around 66MB. This seems more like the expected the size of mame64.exe, looking at the other official builds.

I was wondering if I had made some mistake, as I expected to get something closer to the "official" build. I'm also wondering if the 64-bit official build is actually a debug build or if something is wrong with the package. It seems to be way too large, especially considering the results I and others are getting when compiling our own exe.



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: Large size of official MAME 0.144 binary new [Re: Zaghadka]
#269388 - 11/23/11 06:03 PM


You're right. The official 0.144 package's mame64.exe is way bigger than self compiled with official tools...

Official 0.144 mame64.exe - 104 MB (109,712,009 bytes)
Self compiled 0.144 mame64.exe - 66.1 MB (69,312,000 bytes)
Difference of 37.9MB (40,400,009 bytes).


Official 0.144 mame.exe - 60.3 MB (63,323,648 bytes)
Self compiled 0.144 mame.exe - 61.4 MB (64,442,368 bytes)
Difference of 1.1MB (1,118,720 bytes)

I think HAP nailed it above. It must be compiled with different options.



Zaghadka
MAME Groupie
Reged: 04/26/11
Posts: 115
Send PM


Re: Large size of official MAME 0.144 binary new [Re: redk9258]
#269417 - 11/24/11 01:14 AM


I recompiled with symlevel=1, and that alone does it. Default makefile is symlevel=2, no backtrace. The official binary is a debug build.

Thanks for the info.


Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

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