VOGONS


First post, by haimkob

User metadata
Rank Newbie
Rank
Newbie

Hello,

I've tried to compile the dosbox source with MiniGW using this instructions:
http://www.dosbox.com/wiki/BuildingDOSBox

As a result i get the dosbox.exe compiled file in size of 19MB (2.1MB after compress),
while the dosbox.exe which included of the official release is only 3.6MB (1MB after compress).

I would like to know why there is the big differ on file size?
and how can i make my compiled file the same size as the file included on official release.

Thank you.

Reply 1 of 3, by kekko

User metadata
Rank Oldbie
Rank
Oldbie

You may remove debugging information from the executable with the "strip" command:

strip dosbox.exe

Reply 2 of 3, by haimkob

User metadata
Rank Newbie
Rank
Newbie

Thank you for the help and the fast replay, it worked.

Now my dosbox.exe file is 2.8MB (700kb after compression) - is it ok that it's smaller now then the official file? 😉

Reply 3 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

sure why not. you don't use the same libs, compiler, compiler flags as used with the release

Water flows down the stream
How to ask questions the smart way!