In your first post, you stated 'compiled binaries', hence multiple.
Now you seem to referring to a single executable.
Which is it? 2.2GB is indeed large for a single executable, if thats the case.
In your first post, you stated 'compiled binaries', hence multiple.
Now you seem to referring to a single executable.
Which is it? 2.2GB is indeed large for a single executable, if thats the case.
Yes multiple compiled binary...
But on linux system they only occupy 300MB (dynmically compiled), but on windows they occupy 2.2GB (statically compiled).
So why is there so much difference in disk space usage?
On Linux, all the code your linking against is kept in a shared library. On Windows, because you are statically linking, all the code you are linking against is copied to each and every executable, thus making it substantially larger. It'll also use more memory, as the code can't be shared amongst processes.
You should dynamically link on Windows too, and your executable sizes will drop dramatically. There are very few reasons to statically link.
I'm not talking about executables. I'm talking about statically compiled qt binaries ... so the question remains the same?
statically compiled qt binaries? Its compiled, thus executable, and since its statically linked, you can't be talking about the Qt library, so what are you talking about?
Bookmarks