{"id":32,"date":"2006-11-01T19:55:00","date_gmt":"2006-11-01T17:55:00","guid":{"rendered":"http:\/\/www.thelins.se\/johan\/blog\/2006\/11\/installing-compressing-and-being-dynamic\/"},"modified":"2006-11-01T19:55:00","modified_gmt":"2006-11-01T17:55:00","slug":"installing-compressing-and-being-dynamic","status":"publish","type":"post","link":"https:\/\/www.thelins.se\/johan\/blog\/2006\/11\/installing-compressing-and-being-dynamic\/","title":{"rendered":">Installing, compressing and being dynamic"},"content":{"rendered":"<p>>Ariya and I have had a discussion on whether <a href=\"http:\/\/speedcrunch.digitalfanatics.org\/\">SpeedCrunch<\/a> can be built as a statically linked executable on Windows, and if that is a useful thing to have. Ariya has also wanted to try using the <a href=\"http:\/\/upx.sourceforge.net\/\">UPX<\/a> binary compression tool on SpeedCrunch. Tonight I sat down and played around with this and these are my findings:<\/p>\n<p><span style=\"font-weight: bold;\">#1<\/span> On Windows, we will always require an installer for some users. That is because we need to create start menu entries and such. Perhaps a platform specific part of SpeedCrunch could do this when executed the first time &#8211; but an Installer is still nice to have (it also brings and uninstaller which has proven very nice on Windows).<\/p>\n<p><span style=\"font-weight: bold;\">#2<\/span> A statically executable for Windows is also nice. <a href=\"http:\/\/portableapps.com\/\">Portable applications<\/a> are gaining popularity and some users are satisfied with a single exe file instead of installing something.<\/p>\n<p><span style=\"font-weight: bold;\">#3<\/span> I have not succeded (yet) when it comes to building a Qt environment for Windows that yeilds executables not depending on mingwm10.dll. This has to be solved before the executable can be distributed all alone.<\/p>\n<p><span style=\"font-weight: bold;\">#4<\/span> Using UPX on the statically compiled executable brings it from 9 613 312 bytes to 3 182 592 bytes. I bet that I can save even more space by having a think when I configure Qt. (The installer for the dynamically linked version is 4 546 560 bytes).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>>Ariya and I have had a discussion on whether SpeedCrunch can be built as a statically linked executable on Windows, and if that is a useful thing to have. Ariya has also wanted to try using the UPX binary compression tool on SpeedCrunch. Tonight I sat down and played around with this and these are &hellip; <a href=\"https:\/\/www.thelins.se\/johan\/blog\/2006\/11\/installing-compressing-and-being-dynamic\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">>Installing, compressing and being dynamic<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":0,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}