All programs should work on all distributions, when compiled from source, except exceptional cases, such as Wine only working on x86, and thus not working on PPC Linux.
On the other hand:
- All
packages, and
binaries, are not meant to work on all distributions;
- Some programs' requirements are so strange and/or outdated and/or "bleeding-edge", that they are difficult to install even in binary form, sometimes even on the distribution they were intended to be installed on.
So basically: you have to try and see by yourself.
Yves.