3 ms·
Each example binary is about 3-4 MB when built in release mode and they use the gtk .so files.
by brunoqc 9y ago
Each example binary is about 3-4 MB when built in release mode and they use the gtk .so files.
- jnbiche 9y agoSo a static build is not possible?
- snuxoll 9y agoGtk+ is complex enough that statically linking libgtk3 isn't going to be enough anyway, there's all sorts of extra resources GTK relies upon beyond the .so that it's rather pointless to even try.
- abrowne 9y agoI've used Quod Libet and Meld, both GTK+ 3 apps, on MacOS by downloading .app bundles, so it must be possible, and maybe desirable on non-Linux(/BSD) platforms.
- tomku 9y agoMac .app bundles are folders, you can have both frameworks and .dylibs inside. Quod Libet, for example, has a whole bin/lib/libexec hierarchy inside its .app with shared Gtk libs, Python, etc.
- abrowne 9y agoAh, of course. I've used "Show Package Contents" enough that I should've realized.
- jnbiche 9y agoHow then are people packaging gtk-rs for Windows? Any idea?
- anfractuosity 9y agoI've just used WiX (http://wixtoolset.org/ http://wixtoolset.org/) to bundle GTKs dlls together with my program. I've not investigated statically linking GTK though.