1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* Examples/ex6.c: Include <unistd.h> for usleep.
This commit is contained in:
Ulrich Drepper
1998-07-13 10:40:47 +00:00
parent b1209f9065
commit ceb27555a1
4 changed files with 19 additions and 2 deletions

13
FAQ.in
View File

@ -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 and the many mirror sites. ftp.gnu.org is always overloaded, so try to find
a local mirror first. 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 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 egcs (1.0.2) and GNU CC (2.8.1) should work with the GNU C library (for
powerpc see question ?powerpc). 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 new kernel features when using old kernel headers for compiling the GNU C
library. 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 ?? The compiler hangs while building iconvdata modules. What's
wrong? wrong?

View File

@ -65,6 +65,7 @@ static void process_envvars (enum mode *modep, int *lazyp);
int _dl_argc; int _dl_argc;
char **_dl_argv; char **_dl_argv;
unsigned int _dl_skip_args; /* Nonzero if we were run directly. */
const char *_dl_rpath; const char *_dl_rpath;
int _dl_verbose; int _dl_verbose;
const char *_dl_platform; const char *_dl_platform;
@ -269,7 +270,6 @@ match_version (const char *string, struct link_map *map)
return 0; 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 *library_path; /* The library search path. */
static const char *preloadlist; /* The list preloaded objects. */ static const char *preloadlist; /* The list preloaded objects. */
static int version_info; /* Nonzero if information about 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_bindings = 1;
_dl_debug_versions = 1; _dl_debug_versions = 1;
any_debug = 1; any_debug = 1;
continue;
} }
break; break;

View 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> 1998-06-13 11:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Examples/ex4.c (main): Use exit, not pthread_exit. * Examples/ex4.c (main): Use exit, not pthread_exit.

View File

@ -2,6 +2,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <pthread.h> #include <pthread.h>
#include <unistd.h>
void * void *
test_thread (void *v_param) test_thread (void *v_param)