On Wednesday 24 September 2003 11:11, John Summerfield wrote:
> I'm not familiar with SuSE, but I woul;d guess that if binaries created
> on S7 run on S8 and RHL 7, then they should also run on RHL 8.

Only if you avoid C++ or link statically against libstdc++ as mandated by
the Linux Standard Base. AFAIR, SLES7 and Debian woody used gcc-2.95, RHL7
used gcc-2.96, SLES8 and Rawhide have gcc-3.2 and Debian Sarge will have
gcc-3.3. All versions until 3.2 were incompatible with each other, so
if you want your binary to work on all of them, you need to link all g++
libraries you are using into your binary.

There are also many different versions of glibc, but they are all
backwards compatible, so if you link against glibc 2.1.3, it should also
work with 2.2.5 and 2.3.1.

Note that you should not link statically against glibc and other (non-C++)
system libraries.

        Arnd <><

Reply via email to