[555] in Pthreads mailing list archive
Patches for linux2.0
daemon@ATHENA.MIT.EDU (William S. Lear)
Tue Jan 28 23:21:04 1997
Date: Tue, 28 Jan 1997 21:52:57 -0600 (CST)
From: "William S. Lear" <rael@dejanews.com>
To: pthreads@MIT.EDU
The following are some patches I found necessary to run smoothly
under linux2.0. The PTEST directory below refers to the original
pthreads 1.60 beta 6 release. Of course, the '-O2' "fix" is not strictly
needed.
#============================================================
# < pthreads-1_60beta6/config/configure
# > PTEST/pthreads-1_60beta6/config/configure
#------------------------------------------------------------
642c642
< CFLAGS="-g -O2"
---
> CFLAGS="-g -O"
1104,1106d1103
< cat >> confdefs.h <<EOF
< #define BSD_TM 1
< EOF
# Diff for:
#============================================================
# < pthreads-1_60beta6/config/config.h.in
# > PTEST/pthreads-1_60beta6/config/config.h.in
#------------------------------------------------------------
3,8d2
< /* Does the OS have tm needing bsd'ish initialization? */
< #undef BSD_TM
<
< /* Does the OS already support struct timespec */
< #undef _OS_HAS_TIMESPEC
<
# Diff for:
#============================================================
# < pthreads-1_60beta6/gen/ctime.c
# > PTEST/pthreads-1_60beta6/gen/ctime.c
#------------------------------------------------------------
49c49
< #include "config.h"
---
>
# Diff for:
#============================================================
# < pthreads-1_60beta6/include/math.h
# > PTEST/pthreads-1_60beta6/include/math.h
#------------------------------------------------------------
54d53
< double hypot __P((double, double));
Bill Lear (rael@dejanews.com)