Re: [LIP] Binary compatibility across Linux distros.
Sandip Bhattacharya <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Organization | Puroga Technologies Pvt. Ltd. |
| Message-ID | <[email protected]> |
Amarendra Godbole wrote: > > 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. > > > 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.) > Also for dynamically linked programs, the shared library versions should match. A lot of programs are linked very tightly to the glibc version. Use ldd to find the version of libraries needed to execute the program. - Sandip -- Sandip Bhattacharya * Puroga Technologies * sandip-/[email protected] Work: http://www.puroga.com * Home: http://www.sandipb.net PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3 ------------------------------------------------------- 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