For a long time, distros have patched glibc to show the distro's
details when you run /lib/libc.so.6 - this is typically encountered
when people report a bug to the kernel list and run scripts/ver_linux
from the kernel tree.
Now that glibc no longer has official releases, we are just using a
weekly snapshot which happens to work well (at least, as far as test
results are concerned).
I've applied the following patch to my glibc:
--- glibc-2.8-20080929/version.h.orig 2008-11-05 03:42:01.000000000 +0000
+++ glibc-2.8-20080929/version.h 2008-11-05 03:42:22.000000000 +0000
@@ -1,4 +1,4 @@
/* This file just defines the current version number of libc. */
#define RELEASE "stable"
-#define VERSION "2.8"
+#define VERSION "2.8-20080929-LFS"
which gives the following from libc.so.6:
GNU C Library stable release version 2.8-20080929-LFS, by Roland
McGrath et al.
Copyright (C) 2008 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.2.
Compiled on a Linux 2.6.27.5 system on 2008-11-12.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
and the following from ver_linux:
Linux ac30 2.6.27.5 #1 Sun Nov 9 19:53:29 GMT 2008 i686 athlon-4
i386 GNU/Linux
Gnu C 4.3.2
Gnu make 3.81
binutils 2.18
util-linux 2.14.1
mount support
module-init-tools 3.4.1
e2fsprogs 1.41.3
Linux C Library 2.8-20080929-LFS
Dynamic linker (ldd) 2.8-20080929-LFS
Linux C++ Library 6.0.10
Procps 3.2.7
Kbd 1.14.1
Sh-utils 6.12
Modules Loaded via_velocity crc_ccitt
Is there any interest in doing something like this ?
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page