Remix.run Logo
brnt 13 hours 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 13 hours ago | parent [-]

> 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 12 hours ago | parent [-]

Have you actually tried to make a fully statically linked GUI app on Linux?

enriquto 9 hours ago | parent [-]

Just 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 7 hours ago | parent [-]

If anything more than plain X is fancy to you...