> > 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.
Wow!!! Thanks Colin, this will make things a lot easier for sure!! The whole source takes forever to compile.