-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation of a static binaries #166
Comments
It should already been this way. All the monero dependencies are for compilation. Once compilation is done you get large xmrblocks binary (about 28MB on my os). After that just the xmrblocks and frontend template files should be enough to use it. p.s. |
Thanks for your reply. Indeed, the binaries have about 28MB, but it has many dependencies for dynamically loaded libraries. As a result, the Docker container has a volume of over 1.7GB. If we could link static libraries, we could limit to maybe 100-200MB. I'm not an expert on CMake, so maybe someone can help solve the problem?
|
I see. I will try to look into it the static linking can be improved. For now I focusing on the upcoming monero fork, so not sure if I could look into the static linking at this moment. |
Is it possible to compile and link libraries statically? Monolithic binaries in some situations is more convenient than one that has several dozen dependencies and requires over 1GB of overhead.
The text was updated successfully, but these errors were encountered: