MAMEWorld >> EmuChat
Index   Flat Mode Flat  

Colin Howell
MAME Fan
Reged: 01/31/09
Posts: 17
Send PM
Re: compile mame error
07/11/20 04:54 PM


> Is there any tool to reduce the executable size?

If you're only interested in specific drivers, the best way by far to reduce both executable size and build time is to use the SOURCES option, which tells the MAME build system to only build MAME for the specific drivers listed. For example, make REGENIE=1 SOURCES=src/mame/drivers/atarig1.cpp,src/mame/drivers/mw8080bw.cpp would reconfigure the MAME build to only include the atarig1 and mw8080bw drivers. (You would only need to add REGENIE=1 the first time you did this build, since that's a general option for reconfiguring the build system.) The resulting MAME executable would be much smaller and quicker to build, but would also only be able to run games from those specific drivers.

SOURCES is described a bit more in the MAME documentation's page on compilation, especially in the section on building the Emscripten version for embedding MAME in web browsers. The remarks on SOURCES in that part of the documentation also apply to ordinary builds.







Entire thread
Subject Posted by Posted on
* compile mame error Jason 07/05/20 02:03 AM
. * Re: compile mame error RobbbertModerator  07/05/20 03:33 AM
. * Re: compile mame error Jason  07/05/20 04:03 AM
. * Re: compile mame error R.Coltrane  07/09/20 07:12 PM
. * Re: compile mame error TafoidAdministrator  07/09/20 08:47 PM
. * Re: compile mame error R.Coltrane  07/10/20 07:38 PM
. * Re: compile mame error R.Coltrane  07/11/20 04:15 PM
. * Re: compile mame error Colin Howell  07/11/20 04:54 PM
. * Re: compile mame error R.Coltrane  07/12/20 07:13 AM

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