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
what makes a puppy binary compatible with Distro X ?
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Woof
[So to speak]
Woof takes the binaries of a distro
and the Puppy scripts
and produces a combined product
http://puppylinux.org/wikka/Woof
[So to speak]
Woof takes the binaries of a distro
and the Puppy scripts
and produces a combined product
http://puppylinux.org/wikka/Woof
If you choose arch=x86 you should be good to go .
The binary compatibility is mainly related to libs ,
especially
#
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
/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!
The binary compatibility is mainly related to libs ,
especially
#
Code: Select all
/lib/libc.so.6
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_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!