summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>1999-02-09 18:28:59 +0000
committerrpj <rpj>1999-02-09 18:28:59 +0000
commita3393261a13b52773dc1cd234a4e898e8065ecd0 (patch)
treec651d9642debd35648dd0874a9a2807329f37c60
parent721979305020519130bc8134331eabaeede3736e (diff)
Wed Feb 10 12:49:11 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>snap-1999-02-10
* configure: Various temporary changes. - Kevin Ruland <Kevin.Ruland@anheuser-busch.com> * README: Update.
-rw-r--r--ChangeLog5
-rw-r--r--README14
-rwxr-xr-xconfigure8
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 <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
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 <<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