Reputation: 2002
I’ve been wondering something for a long time. Is it sane to release ELF (32 and 64 bits) binaries in order people to use them? I know we better have to release sources – that’s what I’m used to doing – but I’d like to know what happens if I give a program I’ve compiled on my archlinux to someone using Ubuntu, assuming I don’t use any dynamic libraries except OpenGL and Xlib.
Upvotes: 1
Views: 88
Reputation: 76276
There is a lot of commercial software that does it. It works if you are a bit careful and compile against sufficiently old versions of libraries.
The Linux Standards Base defines a set of libraries and other things that is reasonable to expect on the target system.
Upvotes: 2