@@ -26,9 +26,6 @@ import Data.IORef
2626import Control.Exception
2727import FileCleanup
2828import Platform
29−#ifndef GHC_STABLE
30−import ToolSettings
31−#endif
3229
3330----------------------------------------------------------------------
3431-- GHC setup
@@ -73,25 +70,9 @@ fakeDynFlags = defaultDynFlags settings ([], [])
7370 settings = Settings
7471 { sTargetPlatform = platform
7572 , sPlatformConstants = platformConstants
76−#ifdef GHC_STABLE
7773 , sProgramName = "ghc"
7874 , sProjectVersion = cProjectVersion
7975 , sOpt_P_fingerprint = fingerprint0
80−#else
81− , sGhcNameVersion = GhcNameVersion
82− { ghcNameVersion_programName = "ghc"
83− , ghcNameVersion_projectVersion = cProjectVersion
84− }
85− , sFileSettings = FileSettings
86− { -- fileSettings_tmpDir = "."
87− }
88− , sPlatformMisc = PlatformMisc
89− { platformMisc_integerLibraryType = IntegerSimple
90− }
91− , sToolSettings = ToolSettings
92− { toolSettings_opt_P_fingerprint = fingerprint0
93− }
94−#endif
9576 }
9677 platform = Platform
9778 { platformWordSize=8