MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6126
Loc: Fort Worth, Tx
Send PM


Is there anyway get these files to make in smaller size?
#321574 - 02/07/14 01:17 PM


make -j5

Normal size.

VS.

make -j5 "SYMBOLS = 1" "SYMLEVEL = 1"

Bigger size.

http://www.mamedev.org/tools/ and http://www.mamedev.org/devwiki/index.php?title=Building_MAME_using_Microsoft_Visual_Studio_compilers

Doesn't explain anything about cutting the size down by using the MinGW tools.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2268
Send PM


Re: Is there anyway get these files to make in smaller size? new [Re: Dullaron]
#321585 - 02/07/14 03:38 PM


> make -j5
>
> Normal size.
>
> VS.
>
> make -j5 "SYMBOLS = 1" "SYMLEVEL = 1"
>
> Bigger size.

Yes. Bigger size. Symbols contains words. Words for all of the things.



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: Is there anyway get these files to make in smaller size? new [Re: MooglyGuy]
#321593 - 02/07/14 05:14 PM





GroovyMAME support forum on BYOAC



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6126
Loc: Fort Worth, Tx
Send PM


Re: Is there anyway get these files to make in smaller size? new [Re: MooglyGuy]
#321613 - 02/07/14 10:39 PM


> > make -j5
> >
> > Normal size.
> >
> > VS.
> >
> > make -j5 "SYMBOLS = 1" "SYMLEVEL = 1"
> >
> > Bigger size.
>
> Yes. Bigger size. Symbols contains words. Words for all of the things.

Using HashMyFiles.

Using these tools.

http://www.mamedev.org/tools/ mingw-mame-20121207.exe (32-bit and 64-bit)


Code:


mame64.exe 952a384cc9e7cb5b738dcc734af737fd 7e49ba1baf71de7e22d32b9717998586d0a29993 f0981baa L:\UME\mame64.exe 2/7/2014 2:33:18 AM 2/7/2014 2:30:44 AM 257,153,924 0, 152, 0, 0 0.152 exe A



245 MB


Code:


mess64.exe 7016e9790e090b5a6f59722a1643fd00 ab109596f891310d09728a2bd4ddcbdd12ff736d d39d3827 L:\UME\mess64.exe 2/7/2014 2:11:37 AM 2/7/2014 2:10:15 AM 158,575,712 0, 152, 0, 0 0.152 exe A



151 MB

This is from Revision 27519. Compare this size with the Official size.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



TafoidAdministrator
I keep on testing.. testing.. testing... into the future!
Reged: 04/19/06
Posts: 3137
Loc: USA
Send PM


Re: Is there anyway get these files to make in smaller size? new [Re: Dullaron]
#321623 - 02/07/14 11:08 PM


> > > make -j5
> > >
> > > Normal size.
> > >
> > > VS.
> > >
> > > make -j5 "SYMBOLS = 1" "SYMLEVEL = 1"
> > >
> > > Bigger size.
> >
> > Yes. Bigger size. Symbols contains words. Words for all of the things.
>
> Using HashMyFiles.
>
> Using these tools.
>
> http://www.mamedev.org/tools/ mingw-mame-20121207.exe (32-bit and 64-bit)
>
>
> mame64.exe 952a384cc9e7cb5b738dcc734af737fd 7e49ba1baf71de7e22d32b9717998586d0a29993
> f0981baa L:\UME\mame64.exe 2/7/2014 218 AM 2/7/2014 244 AM 257,153,924 0, 152, 0, 0
> 0.152 exe A
>
>
> 245 MB
>
>
> mess64.exe 7016e9790e090b5a6f59722a1643fd00 ab109596f891310d09728a2bd4ddcbdd12ff736d
> d39d3827 L:\UME\mess64.exe 2/7/2014 237 AM 2/7/2014 215 AM 158,575,712 0, 152, 0, 0
> 0.152 exe A
>
>
> 151 MB
>
> This is from Revision 27519. Compare this size with the Official size.

-----

First off, SYMBOLS=1 is only needed for backtracing a crash, providing line number references from source where execution stopped usually giving a good idea what the problem is.

The official EXE is built to have a minimal compliment of .SYM (symbols), just enough to provide basic information in the form of a stack crawl.

To mirror the official builds, use the following:
make OPTIMIZE=3 SYMBOLS=1 SYMLEVEL=1

Of course, you can add your -j3, -j5 or whatever works best. Use TARGET=mess or TARGET=ume for those builds.

When compiled, you can use this to bring the filesize down even more:
strip -s mame.exe - again, you can do the same with other binaries produced by providing the filename. This will depending on the .SYM file you created for all lookups



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6126
Loc: Fort Worth, Tx
Send PM


Re: Is there anyway get these files to make in smaller size? new [Re: Tafoid]
#321625 - 02/07/14 11:15 PM


> > > > make -j5
> > > >
> > > > Normal size.
> > > >
> > > > VS.
> > > >
> > > > make -j5 "SYMBOLS = 1" "SYMLEVEL = 1"
> > > >
> > > > Bigger size.
> > >
> > > Yes. Bigger size. Symbols contains words. Words for all of the things.
> >
> > Using HashMyFiles.
> >
> > Using these tools.
> >
> > http://www.mamedev.org/tools/ mingw-mame-20121207.exe (32-bit and 64-bit)
> >
> >
> > mame64.exe 952a384cc9e7cb5b738dcc734af737fd
> 7e49ba1baf71de7e22d32b9717998586d0a29993
> > f0981baa L:\UME\mame64.exe 2/7/2014 218 AM 2/7/2014 244 AM 257,153,924 0, 152, 0, 0
> > 0.152 exe A
> >
> >
> > 245 MB
> >
> >
> > mess64.exe 7016e9790e090b5a6f59722a1643fd00
> ab109596f891310d09728a2bd4ddcbdd12ff736d
> > d39d3827 L:\UME\mess64.exe 2/7/2014 237 AM 2/7/2014 215 AM 158,575,712 0, 152, 0, 0
> > 0.152 exe A
> >
> >
> > 151 MB
> >
> > This is from Revision 27519. Compare this size with the Official size.
>
> -----
>
> First off, SYMBOLS=1 is only needed for backtracing a crash, providing line number
> references from source where execution stopped usually giving a good idea what the
> problem is.
>
> The official EXE is built to have a minimal compliment of .SYM (symbols), just enough
> to provide basic information in the form of a stack crawl.
>
> To mirror the official builds, use the following:
> make OPTIMIZE=3 SYMBOLS=1 SYMLEVEL=1
>
> Of course, you can add your -j3, -j5 or whatever works best. Use TARGET=mess or
> TARGET=ume for those builds.
>
> When compiled, you can use this to bring the filesize down even more:
> strip -s mame.exe - again, you can do the same with other binaries produced by
> providing the filename. This will depending on the .SYM file you created for all
> lookups

Thanks. I needed the .sym because I can get the report. If it continue crashing on a game then least I know what build it started at. After the official is release then I will tested that game again. If it still crashing then I will report from the Official build.

By the way. I'm talking about a game that crashes MAME.

Adding these to my notes.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: Is there anyway get these files to make in smaller size? new [Re: Dullaron]
#321629 - 02/08/14 01:41 AM


If you come across a game that's problematic, feel free to post it here or poke me on IRC and I'll happily test along with you



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6126
Loc: Fort Worth, Tx
Send PM


Re: Is there anyway get these files to make in smaller size? new [Re: B2K24]
#321630 - 02/08/14 01:46 AM


> If you come across a game that's problematic, feel free to post it here or poke me on
> IRC and I'll happily test along with you

Will do.



W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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