diff options
author | Simon Marlow <simonmar@microsoft.com> | 2008-02-08 12:41:32 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2008-02-08 12:41:32 +0000 |
commit | 1a3efdd6b616f3a101e182f715df5a0e306eb348 (patch) | |
tree | e7aec24c23f34ad0b62ea057ca6aa07d136f07ac /utils/runghc | |
parent | 752169f4ea14c0fd890ac55af5395bd1672751ea (diff) | |
download | haskell-1a3efdd6b616f3a101e182f715df5a0e306eb348.tar.gz |
Remove some of the old compat stuff now that we assume GHC 6.4
Diffstat (limited to 'utils/runghc')
-rw-r--r-- | utils/runghc/Makefile | 7 | ||||
-rw-r--r-- | utils/runghc/runghc.hs | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/utils/runghc/Makefile b/utils/runghc/Makefile index 16e9724f60..a7303f97d7 100644 --- a/utils/runghc/Makefile +++ b/utils/runghc/Makefile @@ -7,13 +7,6 @@ INSTALL_PROGS += $(HS_PROG) UseGhcForCc = YES SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR) -# This causes libghccompat.a to be used: -include $(GHC_COMPAT_DIR)/compat.mk - -# This is required because libghccompat.a must be built with -# $(GhcHcOpts) because it is linked to the compiler, and hence -# we must also build with $(GhcHcOpts) here: -SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts) SRC_HC_OPTS += -Wall RUNHASKELL_PROG = runhaskell$(exeext) diff --git a/utils/runghc/runghc.hs b/utils/runghc/runghc.hs index 458861ea65..e2cea31231 100644 --- a/utils/runghc/runghc.hs +++ b/utils/runghc/runghc.hs @@ -30,12 +30,7 @@ import Data.Char import System.Directory ( removeFile ) import Control.Exception ( bracket ) import System.Directory ( findExecutable, getTemporaryDirectory ) - -#ifdef USING_COMPAT -import Compat.RawSystem ( rawSystem ) -#else import System.Cmd ( rawSystem ) -#endif main :: IO () main = do |