summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDuncan Coutts <duncan@well-typed.com>2009-06-13 19:19:56 +0000
committerDuncan Coutts <duncan@well-typed.com>2009-06-13 19:19:56 +0000
commite53ba3592da5f72d1f701981126dbd28db9df98c (patch)
tree93b9895783309449d201c644b2687887a9cb3be7 /includes
parent1b61c2db6a8d6627577bcd7876474a0c5bd1eedb (diff)
downloadhaskell-e53ba3592da5f72d1f701981126dbd28db9df98c.tar.gz
Stop building the rts against gmp
Nothing from gmp is used in the rts anymore.
Diffstat (limited to 'includes')
-rw-r--r--includes/Cmm.h5
-rw-r--r--includes/Rts.h7
-rw-r--r--includes/ghc.mk7
3 files changed, 0 insertions, 19 deletions
diff --git a/includes/Cmm.h b/includes/Cmm.h
index e3f46e143b..4577672f44 100644
--- a/includes/Cmm.h
+++ b/includes/Cmm.h
@@ -342,11 +342,6 @@
#include "Block.h" /* For Bdescr() */
-/* Can't think of a better place to put this. */
-#if SIZEOF_mp_limb_t != SIZEOF_VOID_P
-#error mp_limb_t != StgWord: assumptions in PrimOps.cmm are now false
-#endif
-
#define MyCapability() (BaseReg - OFFSET_Capability_r)
/* -------------------------------------------------------------------------
diff --git a/includes/Rts.h b/includes/Rts.h
index 6c039f83e0..d96545005c 100644
--- a/includes/Rts.h
+++ b/includes/Rts.h
@@ -175,13 +175,6 @@ TAG_CLOSURE(StgWord tag,StgClosure * p)
#include "SMPClosureOps.h"
#include "SpinLock.h"
-/* GNU mp library */
-#if defined(HAVE_FRAMEWORK_GMP)
-#include <GMP/gmp.h>
-#else
-#include "gmp.h"
-#endif
-
/* Macros for STG/C code */
#include "Block.h"
#include "ClosureMacros.h"
diff --git a/includes/ghc.mk b/includes/ghc.mk
index 66a379aa29..a266bf4c6a 100644
--- a/includes/ghc.mk
+++ b/includes/ghc.mk
@@ -34,13 +34,6 @@ includes_CC_OPTS += -DTABLES_NEXT_TO_CODE
endif
includes_CC_OPTS += -Iincludes -Irts -Irts/parallel
-ifeq "$(HaveLibGmp)" "YES"
-ifneq "$(GMP_INCLUDE_DIRS)" ""
-includes_CC_OPTS += -I$(GMP_INCLUDE_DIRS)
-endif
-else
-includes_CC_OPTS += -Igmp/gmpbuild
-endif
ifneq "$(GhcWithSMP)" "YES"
includes_CC_OPTS += -DNOSMP