4 ms·
I did not find packaging up an AppImage that is actually compatible across distro's and version all that straightforward, and we were not even using Qt or GTK/l
by brnt 1y ago
I did not find packaging up an AppImage that is actually compatible across distro's and version all that straightforward, and we were not even using Qt or GTK/libadwaita. How is this easy, in your experience?
- enriquto 1y ago> How is this easy, in your experience? add -static to your link flags? Sometimes you need to fiddle a bit with the order of the libraries, but that's it. In the ideal case, for maximum portability, i'd like to use the αpε format!
- sirwhinesalot 1y agoHave you actually tried to make a fully statically linked GUI app on Linux?
- enriquto 1y agoJust did it! I had to add "-static" to LDFLAGS and "-lxcb -lXau -lXdmcp" to LDLIBS, for an increase in binary size from 1MB to 3MB. It's a plain X program, i guess if you use fancy toolkits it may be harder.
- brnt 1y agoIf anything more than plain X is fancy to you...
- sirwhinesalot 1y agoTry getting 3D rendering now. Your statically linked libc will fail to load the GPU driver and your app won't work :)
- enriquto 1y agoTrue. And that's why linus showing the finger to nvidia was an exhilarating relief to so many people. The gpu driver shenanigans are horrific to contour, but they are completely unnecessary on technical grounds. All the difficulties are purposefully introduced by the graphics card hardware companies. I'd say "fuck it" and do the rendering in the cpu only, which is almost always possible.
- sirwhinesalot 1y agoI agree, but hopefully it's clear that there's a major problem all these crazy solutions are trying to work around.