binary compatibility on Linux
A few questions here:
1. If I compile a program on a linux OS with a certain kernel version, what kernel versions will it run on? What rules do I need to follow to ensure maximum binary compatability, and what is the best I can expect?
2. Same question for gnu C library. Is glibc normally dynamically linked, and if so, is it backwards compatible? Can you statically link it?
3. When distributing a binary, what stipulations are nomally made regarding kernel and glibc libraries?
Anything else I should know about binary compatibility?