]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 13 Jul 1998 10:40:47 +0000 (10:40 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 13 Jul 1998 10:40:47 +0000 (10:40 +0000)
1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* Examples/ex6.c: Include <unistd.h> for usleep.

FAQ.in
elf/rtld.c
linuxthreads/ChangeLog
linuxthreads/Examples/ex6.c

diff --git a/FAQ.in b/FAQ.in
index 0a94435a68735b10a5ac32d987ebff278be21601..5ec49c37883924d194402a5c2ded8d9f647f9a65 100644 (file)
--- a/FAQ.in
+++ b/FAQ.in
@@ -57,7 +57,7 @@ GNU CC is found, like all other GNU packages, on
 and the many mirror sites.  ftp.gnu.org is always overloaded, so try to find
 a local mirror first.
 
-You always should try to use the latest official release.  Older versions
+You should always try to use the latest official release.  Older versions
 may not have all the features GNU libc requires.  The current releases of
 egcs (1.0.2) and GNU CC (2.8.1) should work with the GNU C library (for
 powerpc see question ?powerpc).
@@ -158,6 +158,17 @@ on a recent kernel) does not necessarily work.  For example you can't use
 new kernel features when using old kernel headers for compiling the GNU C
 library.
 
+{ZW} Even if you are using a 2.0 kernel on your machine, we recommend you
+compile GNU libc with 2.1 kernel headers.  That way you won't have to
+recompile libc if you ever upgrade to kernel 2.1 or 2.2.  To tell libc which
+headers to use, give configure the --with-headers switch
+(e.g. --with-headers=/usr/src/linux-2.1.107/include).
+
+Note that you must configure the 2.1 kernel if you do this; otherwise libc
+will be unable to find <linux/version.h>.  Just copy .config from your 2.0
+kernel sources to the 2.1 tree, do `make oldconfig', and say no to all the
+new options.
+
 ??     The compiler hangs while building iconvdata modules.  What's
        wrong?
 
index f1b612166d5de6edc1bce157585aa96bb3c96e9b..f60a357d981169848450152e21f78c54384a246e 100644 (file)
@@ -65,6 +65,7 @@ static void process_envvars (enum mode *modep, int *lazyp);
 
 int _dl_argc;
 char **_dl_argv;
+unsigned int _dl_skip_args;    /* Nonzero if we were run directly.  */
 const char *_dl_rpath;
 int _dl_verbose;
 const char *_dl_platform;
@@ -269,7 +270,6 @@ match_version (const char *string, struct link_map *map)
   return 0;
 }
 
-static unsigned int _dl_skip_args;     /* Nonzero if we were run directly.  */
 static const char *library_path;       /* The library search path.  */
 static const char *preloadlist;                /* The list preloaded objects.  */
 static int version_info;               /* Nonzero if information about
@@ -982,6 +982,7 @@ process_dl_debug (const char *dl_debug)
                  _dl_debug_bindings = 1;
                  _dl_debug_versions = 1;
                  any_debug = 1;
+                 continue;
                }
              break;
 
index aef77ed4bb3075d9d9e7064645a8a88a73a3fa4f..fb309c7ab9e6aa79088769af63042e1f6e0a624c 100644 (file)
@@ -1,3 +1,7 @@
+1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * Examples/ex6.c: Include <unistd.h> for usleep.
+
 1998-06-13 11:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
        * Examples/ex4.c (main): Use exit, not pthread_exit.
index 32621d33df47e1d75ded08210e5cb844a9f4ba0b..78533763942801ffa8285975a55fbd18a829e3c6 100644 (file)
@@ -2,6 +2,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <pthread.h>
+#include <unistd.h>
 
 void *
 test_thread (void *v_param)
This page took 0.054107 seconds and 5 git commands to generate.