From a3393261a13b52773dc1cd234a4e898e8065ecd0 Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 9 Feb 1999 18:28:59 +0000 Subject: Wed Feb 10 12:49:11 1999 Ross Johnson * configure: Various temporary changes. - Kevin Ruland * README: Update. --- ChangeLog | 5 +++++ README | 14 ++++++++------ configure | 8 +++++--- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9dd9926..1226cb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ Wed Feb 10 12:49:11 1999 Ross Johnson + * configure: Various temporary changes. + - Kevin Ruland + + * README: Update. + * pthread.def (pthread_attr_getstackaddr): uncomment (pthread_attr_setstackaddr): uncomment diff --git a/README b/README index beb8bdf..4334a35 100644 --- a/README +++ b/README @@ -13,14 +13,16 @@ and place the fllowing text in the message body: Building the library with Cygwin32 or Mingw32 --------------------------------------------- -Jan 23, 1999 +Feb 10, 1999 -The package cannot be built using cygwin32 or mingw32 yet. -I'm working on this now. Initially it will be made to compile using g++ -because the implementation uses exception handling for cancellation -to work. The library is C callable though so if you need to write -applications in C you'll have to grab the pre-built DLL. +If you have a suitable environment run the configure script, otherwise you +can copy Makefile.in to Makefile and edit it as required. +There is an unresolved bug which shows up as a segmentation fault +(memory access violation) when the library is built using g++. Build +the test program "eyal1.c" and run with an argument of "2" or greater. +The argument is the number of threads to run, excluding the main thread, +so the bug appears with 2 or more worker threads. The complete source code in tar format and a precompiled DLL and matching pthread.h can be found at: diff --git a/configure b/configure index 3b660a4..f9489a2 100755 --- a/configure +++ b/configure @@ -872,7 +872,7 @@ else #include "confdefs.h" #include <$ac_hdr> EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +ac_try="$ac_cpp conftest.$ac_ext >a.out 2>conftest.out" { (eval echo configure:877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then @@ -969,7 +969,9 @@ EOF else cat >> confdefs.h <<\EOF +#ifndef STDCALL #define STDCALL +#endif EOF fi @@ -984,10 +986,10 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then else cat > conftest.$ac_ext < +#include "confdefs.h" EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +ac_try="$ac_cpp conftest.$ac_ext >a.out 2>conftest.out" { (eval echo configure:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then -- cgit v1.2.3