summaryrefslogtreecommitdiffstats
path: root/lang/python25/files/Setup.gmp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python25/files/Setup.gmp')
-rw-r--r--lang/python25/files/Setup.gmp16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/python25/files/Setup.gmp b/lang/python25/files/Setup.gmp
new file mode 100644
index 0000000..5e70d8f
--- /dev/null
+++ b/lang/python25/files/Setup.gmp
@@ -0,0 +1,16 @@
+*shared*
+
+# The mpz module interfaces to the GNU Multiple Precision library.
+# You need to ftp the GNU MP library.
+# The GMP variable must point to the GMP source directory.
+# This was originally written and tested against GMP 1.2 and 1.3.2.
+# It has been modified by Rob Hooft to work with 2.0.2 as well, but I
+# haven't tested it recently.
+
+# A compatible MP library unencombered by the GPL also exists. It was
+# posted to comp.sources.misc in volume 40 and is widely available from
+# FTP archive sites. One URL for it is:
+# ftp://gatekeeper.dec.com/.b/usenet/comp.sources.misc/volume40/fgmp/part01.Z
+
+GMP=/usr/src/contrib/libgmp
+mpz mpzmodule.c -I$(GMP) -I$(GMP)/mpn/generic -lgmp
OpenPOWER on IntegriCloud