diff --git a/INSTALL-gwnum b/INSTALL-gwnum index 76ca14f34b3f0715f0d581332923b05213e09c46..8b1b65cb88291040896cf5ba2583a126af53da2c 100644 --- a/INSTALL-gwnum +++ b/INSTALL-gwnum @@ -6,9 +6,9 @@ is not affected. Users should familiarize themselves with the instructions in "INSTALL-ecm" before attempting the procedures here. -0) Download Prime 95 source files. As of March 2024, the current release is: +0) Download Prime 95 source files. As of June 2024, the current release is: - https://www.mersenne.org/download/software/v30/30.19/p95v3019b13.source.zip + https://www.mersenne.org/download/software/v30/30.19/p95v3019b20.source.zip Check links appended to "https://www.mersenne.org/download/software/" for future Prime 95 releases. @@ -40,7 +40,7 @@ Users should familiarize themselves with the instructions in For example, if the ECM and p95 folders are both in the same home folder, the command might look like - $ ./configure --with-gwnum=../p95v3019b13.source/gwnum + $ ./configure --with-gwnum=../p95v3019b20.source/gwnum Note that you may also need to specify "--with-gmp=<gmpdir>" if "configure" has trouble finding GMP. @@ -73,7 +73,7 @@ Users should familiarize themselves with the instructions in with 'n' or '(b2^n2)' < 10^10. Also, k must be a positive integer with 1 <= k < 2^53, and c must be a non-zero integer with |c| < 2^23. Note that the k upper limit of 2^53-1 is taken from the file - p95v3019b13.source/gwnum/gwnum.c, line 2181: + p95v3019b20.source/gwnum/gwnum.c, line 2181: "if (k > 9007199254740991.0) return (GWERROR_K_TOO_LARGE);" and is subject to change by Woltman. (2) For integer-character-only input strings N, GMP-ECM may detect if diff --git a/LucasChainGenerator/src/LucasChainGen.c b/LucasChainGenerator/src/LucasChainGen.c index a53d1d44eb67988ecf4d9266302c1f0602af6bcf..a88dd23f76c6ee0e84da893267f01f972e1de354 100644 --- a/LucasChainGenerator/src/LucasChainGen.c +++ b/LucasChainGenerator/src/LucasChainGen.c @@ -24,7 +24,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #include <stdlib.h> #include <string.h> #include <stdint.h> -#ifndef _MSC_VER +#ifdef HAVE_SYS_RESOURCE_H # include <sys/resource.h> #endif #include <time.h> diff --git a/gwnum_linux.sh b/gwnum_linux.sh index 47b8beafa91334ea3bf679cca5657842f5a46043..c5ca6a2550b937234c994290605bf59d1fe51ebc 100755 --- a/gwnum_linux.sh +++ b/gwnum_linux.sh @@ -1,7 +1,7 @@ #! /bin/sh -P95_URL="https://www.mersenne.org/download/software/v30/30.19/p95v3019b13.source.zip" -echo "Loading P95 version 30.19 build 13" +P95_URL="https://www.mersenne.org/download/software/v30/30.19/p95v3019b20.source.zip" +echo "Loading P95 version 30.19 build 20" [ -d "/tmp/P95/" ] && rm -r /tmp/P95 mkdir /tmp/P95 wget -q -O /tmp/P95/P95_source.zip $P95_URL