Arnd Bergmann <[EMAIL PROTECTED]> wrote: > > 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 <>< >
There is an alternative... Dignus Systems/C++ for Linux/390 (or z/Linux) will produce C++ programs that run on all of those. We have our own C++ runtime, which includes the STL, etc.. And, we're much more ANSI compliant than g++. See http://www.dignus.com for more information. - Dave Rivers - -- [EMAIL PROTECTED] Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com
