Page 1 of 1

what makes a puppy binary compatible with Distro X ?

Posted: Thu 10 Nov 2011, 20:54
by pulmac
Hi

I was wondering... if you have a Kernel and compile it for an architecture.... what makes, for example, Puppy Slacko binary compatible with Slackware ? or Finlandia binary compatible with Ubuntu ?

I'm little confused.
:s

Posted: Fri 11 Nov 2011, 00:54
by Lobster
Woof 8)
[So to speak]

Woof takes the binaries of a distro
and the Puppy scripts
and produces a combined product :)

http://puppylinux.org/wikka/Woof

Posted: Fri 11 Nov 2011, 14:13
by Karl Godt
If you choose arch=x86 you should be good to go .

The binary compatibility is mainly related to libs ,
especially
#

Code: Select all

/lib/libc.so.6
GNU C Library stable release version 2.10.1, by Roland McGrath et al.
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.3.4.
Compiled on a Linux >>2.6.32<< system on 2011-09-07.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
Support for some architectures added on, not maintained in glibc core.
BIND-8.2.3-T5B

AND

Code: Select all

find /usr/lib -name "*libgtk*" -o -name "*libgdk*" -o -name "*libglib*"
/usr/lib/libgdk-x11-2.0.so.0.2400.5
/usr/lib/libgdk_pixbuf_xlib-2.0.so.0.2200.1
/usr/lib/libgtk-x11-2.0.so.0.2400.5
/usr/lib/libglib-2.0.so.0.2800.8

would show the version numbers of very important libraries .

As a rule of thumb there is a very good chance that binaries compiled with libs with lower version numbers would run on systems with higher version numbers BUT this is not always true!