summaryrefslogtreecommitdiff
path: root/compiler/utils/Util.lhs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-13 21:29:27 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-15 00:49:49 +0000
commitb7126674a5f4ead9c73a6a2cbe0fbc85f7d36c12 (patch)
tree767f78388d2e73d317a64d1c106402de6f9014ed /compiler/utils/Util.lhs
parent5319ea79fa1572b7d411548532031f9d19b928c6 (diff)
downloadhaskell-b7126674a5f4ead9c73a6a2cbe0fbc85f7d36c12.tar.gz
By default, use the dynamic way for programs in the GHC tree
In particular, this means that GHCi will use DLLs, rather than loading object files itself.
Diffstat (limited to 'compiler/utils/Util.lhs')
-rw-r--r--compiler/utils/Util.lhs9
1 files changed, 1 insertions, 8 deletions
diff --git a/compiler/utils/Util.lhs b/compiler/utils/Util.lhs
index f9927de2f0..90a2077c71 100644
--- a/compiler/utils/Util.lhs
+++ b/compiler/utils/Util.lhs
@@ -9,7 +9,7 @@
module Util (
-- * Flags dependent on the compiler build
ghciSupported, debugIsOn, ncgDebugIsOn,
- ghciTablesNextToCode, isDynamicGhcLib,
+ ghciTablesNextToCode,
isWindowsHost, isDarwinHost,
-- * General list processing
@@ -179,13 +179,6 @@ ghciTablesNextToCode = True
ghciTablesNextToCode = False
#endif
-isDynamicGhcLib :: Bool
-#ifdef DYNAMIC
-isDynamicGhcLib = True
-#else
-isDynamicGhcLib = False
-#endif
-
isWindowsHost :: Bool
#ifdef mingw32_HOST_OS
isWindowsHost = True