|
MAME compiles much larger than official build with new toolchain
#339713 - 05/07/15 02:02 AM
|
|
|
I compiled 0.161 through the new toolchain and it comes out to 125 MB, much larger than previous MAMEs. Plus, the official binary comes out to about 92 MB.
Is there a makefile setting I'm missing that makes it come out so large? I'm looking at SUBTARGET = Tiny and wondering if that is what I'm missing.
Thanks.
|
|
|
|
Re: MAME compiles much larger than official build with new toolchain
[Re: Zaghadka]
#339715 - 05/07/15 02:10 AM
|
|
|
|
|
Re: MAME compiles much larger than official build with new toolchain
[Re: Bad A Billy]
#339718 - 05/07/15 03:58 AM
|
|
|
|
|
Re: MAME compiles much larger than official build with new toolchain
[Re: Bad A Billy]
#339750 - 05/07/15 02:57 PM
|
|
|
Thanks, but strip_symbols=1 results in the same bloated 125MB Mame64.
Dunno.
|
|
|
|
Re: MAME compiles much larger than official build with new toolchain
[Re: Zaghadka]
#339752 - 05/07/15 03:11 PM
|
|
|
|
|
Re: MAME compiles much larger than official build with new toolchain
[Re: Zaghadka]
#339753 - 05/07/15 03:22 PM
|
|
|
> Thanks, but strip_symbols=1 results in the same bloated 125MB Mame64.
no, i just tested it today, on both MAME and MESS with these commands:
make -j5 PTR64=1 TOOLS=1 STRIP_SYMBOLS=1 and make -j5 TARGET=mess PTR64=1 TOOLS=1 STRIP_SYMBOLS=1
and got smaller executables (93mb and 49mb) as described by Robbbert.
|
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration
|
|
|
Re: MAME compiles much larger than official build with new toolchain
[Re: Robbbert]
#339768 - 05/08/15 12:39 AM
|
|
|
Ah, curse UNIX. LOL. That worked, but the tools are still large and unstripped. Any way to strip the tools?
|
|
|
|
Re: MAME compiles much larger than official build with new toolchain
[Re: Zaghadka]
#339770 - 05/08/15 01:43 AM
|
|
|
|
|
Re: MAME compiles much larger than official build with new toolchain
[Re: Robbbert]
#339788 - 05/08/15 03:53 PM
|
|
|
Thanks for all your help.
Turns out the best solution for me was two steps.
Code:
make -j5 TOOLS=1 strip -s *.*
That trimmed the entire set after.
Edited by Zaghadka (05/09/15 09:13 PM)
|
|
|