[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: executable compatible with Debian and Redhat?



dsh8290@rit.edu wrote:
>This is correct.  I have a RH7.0 system:
>
>$ gcc --version
>2.96
>$ rpm -q glib
>glib-1.2.8-4
>
>(I don't know if the glib is stable or not)

You realize, don't you, that glib is not the same thing as glibc? glib
is a library of some useful C routines that used to be part of GTK;
glibc is the GNU C Library, which is required for Linux systems to
function.

Does anybody know if executables compiled on Debian unstable, which now
has glibc-2.2, will run on Red Hat 7.0 and its almost-2.2 glibc? Or vice
versa, with a compatible gcc? I'd hope so, but as far as I know none of
the Red Hat boxes at work are later than 6.2 and I don't intend to run
RH at home.

>Check on gcc.gnu.org and you will see that 2.96 was the label for the
>devel tree and is binary incompatible with all but version 2.96.  If
>you want to "upgrage" (don't!) your system to use gcc 2.96 it will be
>binary compatible with other executables made with 2.96.  Of course,
>then things made with the stable 2.95.2 won't work.

In fairness, Red Hat note that 2.95.2 wasn't exactly stable on any
architecture other than i386 (particularly not on Alpha). Michael
Tiemann commented on it recently - I think there might have been a link
off Slashdot or something.

Cheers,

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: