How to build RHEL software to run on Debian?
I'm a software developer, and I would like one set of software binaries
(applications, libraries) to be able to run across many Linux platforms,
including FedoraCore, Redhat Enterprise Linux, and Debian (much the same
way XAMPP -- http://www.apachefriends.org/en/xampp.html -- claims that its
one Linux binary distribution runs on all SuSE, Redhat, Mandrake, and Debian).
What sort of things must I do as a developer to do this?
Should I carry as many of the dynamically-linked libraries around with my
distribution? Should these include libc/glibc in my own distribution set?
Is this a worthwhile endeavor? Have people tried this before? Obviously
it appears to be a key point for XAMPP (per above) and I suspect many more
software sets. It sure would be nice for my project to have one binary for
many systems--it really cuts down on my build-control logistics.
I'm just getting started in this investigation. I may be posting to
several different Linux communities (newsgroups, email lists, forums,
etc). I started with the Debian community because I have a build
environment on RHEL, and am porting to Debian.
Thanks for any help.
ps: I am very familiar and have over a decade of experience with managing
software projects that make portable code across 8 different unix variants,
VMS, and several Windows flavors. Therefore, I'd like this discussion to
focus primarily on how to make the *binaries* portable and not the _code_