summary refs log tree commit diff
path: root/FAQ
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-27 03:30:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-27 03:30:43 +0000
commitbe76803a73a6a65929a5f770e694e1116ae419fd (patch)
tree5091293c69486eac62abfb4a2192e23c05d749a1 /FAQ
parent214414c897e1a3df00a5d91f3eb1aa02bdd1174f (diff)
downloadglibc-be76803a73a6a65929a5f770e694e1116ae419fd.tar.gz
glibc-be76803a73a6a65929a5f770e694e1116ae419fd.tar.xz
glibc-be76803a73a6a65929a5f770e694e1116ae419fd.zip
Update.
2000-12-11  Bruno Haible  <haible@clisp.cons.org>

	* Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.

2000-12-26  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
	Patch by Ed Connell <Ed.Connell@sas.com>.
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ25
1 files changed, 25 insertions, 0 deletions
diff --git a/FAQ b/FAQ
index 889fe637e2..696d65715c 100644
--- a/FAQ
+++ b/FAQ
@@ -182,6 +182,7 @@ please let me know.
 4.7.	Why do so many programs using math functions fail on my AlphaStation?
 4.8.	The conversion table for character set XX does not match with
 what I expect.
+4.9.	How can I find out which version of glibc I am using in the moment?
 
 
 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 
@@ -1813,6 +1814,30 @@ Before doing this look through the list of known problem first:
   if it cannot directly map a character this is a perfectly good solution
   since the semantics and appearance of the character does not change.
 
+
+4.9.	How can I find out which version of glibc I am using in the moment?
+
+{UD} If you want to find out about the version from the command line simply
+run the libc binary.  This is probably not possible on all platforms but
+where it is simply locate the libc DSO and start it as an application.  On
+Linux like
+
+	/lib/libc.so.6
+
+This will produce all the information you need.
+
+What always will work is to use the API glibc provides.  Compile and run the
+following little program to get the version information:
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#include <stdio.h>
+#include <gnu/libc-version.h>
+int main (void) { puts (gnu_get_libc_version ()); return 0; }
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This interface can also obviously be used to perform tests at runtime if
+this should be necessary.
+
 
 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~