Compiling - size of binary
-
Greetings.
After compiling (with --with-gui=no) my feathercoind is ~100 mb. But on your github it’s 9 mb. Do you pass some other options (guess it has something to do with dynamic linking)?
-
100 mb is a very large binary. You are right, on Linux the size of feathercoind is about 7 mb.
What is the operating system you are compiling on, and what are your options for the configure step of the build process?
-
It’s Ubuntu 17.10. autogen.sh, then configure --with-gui=no and make.
-
To reduce the size of the binary, you can strip the debug symbols by running
strip feathercoind
-
strip -s feathercoind
-
Whoa, that worked! 5 mb. Thanks.
-
Marked as solved!