diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | README | 14 | ||||
-rwxr-xr-x | configure | 8 |
3 files changed, 18 insertions, 9 deletions
@@ -1,5 +1,10 @@ Wed Feb 10 12:49:11 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> + * configure: Various temporary changes. + - Kevin Ruland <Kevin.Ruland@anheuser-busch.com> + + * README: Update. + * pthread.def (pthread_attr_getstackaddr): uncomment (pthread_attr_setstackaddr): uncomment @@ -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: @@ -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 <<EOF #line 987 "configure" -#include "confdefs.h" #include <$ac_hdr> +#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 |