[LIP] Binary compatibility across Linux distros.

Amarendra Godbole <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Organization GE Security - IBC
Message-ID <[email protected]>
Hi,

How to verify if the binary that I build on a Red Hat Linux for x86 
shall execute as-is on SuSe Linux distro ? It is a C binary, compiled 
under Red Hat 7.3 (I guess it has the older version of gcc out there, 
not so sure.) No special distro-related features' are used (I am not 
even aware of them.)

gcc infopage has some details on the ABI compatibility of C binaries, 
all I could deduce was I can execute a statically compiled binary 
as-is on any other Linux distro. This is for gcc-3.2.

The Linux Standards Base Project (linuxbase.org) mentions that RHL 9.0 
and Enterprise release 3 are compliant systems 
(http://www.opengroup.org/lsb/cert/cert_prodlist.tpl). But as it goes 
with standards, their site is very confusive.

I think the binaries should execute cross-distros' if -
* the arch platform is same.
* the kernel versions are same (or very near each other.)
So, I need to find out that SuSe distro, which has the same kernel 
version as the one in RHL 7.3 (for example.)

I'd appreciate if someone can assert these findings. Any other 
pointers would be of great help too. Thanks in advance.

Cheers,
Amar

-- 
Murphy's Law fails only when you try to demonstrate it, and thus succeeds.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.