MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

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


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.



Bad A Billy
Oop Ack!
Reged: 12/27/07
Posts: 1077
Loc: Outland
Send PM


Re: MAME compiles much larger than official build with new toolchain new [Re: Zaghadka]
#339715 - 05/07/15 02:10 AM


This is probably what you're looking for.

http://www.mameworld.info/ubbthreads/sho...part=1&vc=1



Pessimist: Oh, this can't get any worse!
Optimist: Yes, it can!



abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: MAME compiles much larger than official build with new toolchain new [Re: Bad A Billy]
#339718 - 05/07/15 03:58 AM


> This is probably what you're looking for.
>
> http://www.mameworld.info/ubbthreads/sho...part=1&vc=1

useful info, thanks.



MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration



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


Re: MAME compiles much larger than official build with new toolchain new [Re: Bad A Billy]
#339750 - 05/07/15 02:57 PM


Thanks, but strip_symbols=1 results in the same bloated 125MB Mame64.

Dunno.



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3204
Loc: A long way from you
Send PM


Re: MAME compiles much larger than official build with new toolchain new [Re: Zaghadka]
#339752 - 05/07/15 03:11 PM





abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: MAME compiles much larger than official build with new toolchain new [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



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


Re: MAME compiles much larger than official build with new toolchain new [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?



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3204
Loc: A long way from you
Send PM


Re: MAME compiles much larger than official build with new toolchain new [Re: Zaghadka]
#339770 - 05/08/15 01:43 AM





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


Re: MAME compiles much larger than official build with new toolchain new [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)


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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