Build Your Own Arcade Controls Forum
Software Support => GroovyMAME => Topic started by: fred92 on March 24, 2021, 12:17:34 pm
-
Hello all,
i have compiled groovymame (using msys64 and make) with this option :
make -j5 subtarget=arcade
and the .exe size is about 522MB.
Is there a way to reduce the size like the 207MB of Calamity's ?
thanks.
Fred.
Edit :
i found UPX, with a simple drag and drop it resized to 298MB...
And you, what do you use ?
thanks.
-
I don't remember if the mame exe is stripped, but you should try + don't activate debug symbols + -O2 or -O3 + check dist.mak, it has some interesting flags to use
-
thanks you Substring for your answer
i tried this :
make -j5 subtarget=arcade debug=0 strip_symbols=1 PTR64=1 OPTIMIZE=3
(i'm using latest msys64.exe, all is up to date, and GM source)
but same size : 522MB.
i don't understand...
Could someone share his compiling command ?
-
Hi fred92,
Here are the flags I used (before github):
OPTIMIZE=3 SYMLEVEL=1 SYMBOLS=1 STRIP_SYMBOLS=1
However you'll need to start a clean build, otherwise they won't have the result you expect.
-
Hi fred92,
Here are the flags I used (before github):
OPTIMIZE=3 SYMLEVEL=1 SYMBOLS=1 STRIP_SYMBOLS=1
However you'll need to start a clean build, otherwise they won't have the result you expect.
Thank you Calamity for your clear answer.
I'll edit this post after trying a fresh new compilation with this command :
make -j5 OPTIMIZE=3 SYMLEVEL=1 SYMBOLS=1 STRIP_SYMBOLS=1
(see you in 1 hour and a half... time it takes to make the job)
Good news, GM is now 287MB it's betten than at the biggining.
Thank you very much for your answer and for Groovymame software !!
Fred.