U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
achieve low file size of compiled executable how ?
https://www.ultimatepp.org/forums/index.php?t=rview&goto=55913&th=11334#msg_55913
I have been using mfc visual studio.
Whenever I need low file size I simply use "Use MFC in a Shared DLL".
It becomes 9mb's to 100kb's executable.
And I am new to U++.
But here when I check shared libs option in U++ it becomes 6mb's to 1mb's only.
Is there any way I could achieve low file size as much as possible ? Or this is final expected size ?
I have hope because its uses MS VC++ and mfc also uses that same compiler.
Regards. ]]>khan9992021-01-01T17:20:39-00:00Re: achieve low file size of compiled executable how ?
https://www.ultimatepp.org/forums/index.php?t=rview&goto=55914&th=11334#msg_55914
So it's actually quite a big chunk of machine code, think more like kf5libs in KDE projects and similar (but KDE/Qt is even much much larger).
So 1-3MB is what is to be expected, it's not strong side of U++ to produce 64kiB intros, for that you need other tools (usually everything custom and not using any framework at all ).
You could probably squash the executable further by using exe-packer like UPX, but then it will be more likely marked by modern antivirus heuristic as some generic threat or at least suspicious file.
Actually for large GUI apps, the final U++ executable is usually quite small (like under 10MB) compared to similar apps created in other toolkits, but for tiny apps like "hello world" there's extra price for the cross-platform nature of U++.]]>mr_ped2021-01-01T23:37:33-00:00Re: achieve low file size of compiled executable how ?
https://www.ultimatepp.org/forums/index.php?t=rview&goto=55915&th=11334#msg_55915
GUI editor for win32 api as well, it would be more superb.
Okay no problem, I am happy to continue with U++ as U++ framework have GUI editor and less output file size including dependencies as compared to QT and C++ builder.
But I have 1 more concern. Does U++ supports to output file release in parts ?
I am sure it embeds all dependencies in 1 exe.
So I wish it would include dependencies as files not embeds.
Is there any option ?
And thanks for support. ]]>khan9992021-01-02T08:26:29-00:00