@@ -26,9 +26,6 @@ import Data.IORef
26import Control.Exception
26import Control.Exception
27import FileCleanup
27import FileCleanup
28import Platform
28import Platform
33----------------------------------------------------------------------
30----------------------------------------------------------------------
34-- GHC setup
31-- GHC setup
@@ -73,25 +70,9 @@ fakeDynFlags = defaultDynFlags settings ([], [])
73 settings = Settings
70 settings = Settings
74 { sTargetPlatform = platform
71 { sTargetPlatform = platform
75 , sPlatformConstants = platformConstants
72 , sPlatformConstants = platformConstants
77 , sProgramName = "ghc"
73 , sProgramName = "ghc"
78 , sProjectVersion = cProjectVersion
74 , sProjectVersion = cProjectVersion
79 , sOpt_P_fingerprint = fingerprint0
75 , sOpt_P_fingerprint = fingerprint0
81− , sGhcNameVersion = GhcNameVersion
82− { ghcNameVersion_programName = "ghc"
83− , ghcNameVersion_projectVersion = cProjectVersion
85− , sFileSettings = FileSettings
86− { -- fileSettings_tmpDir = "."
88− , sPlatformMisc = PlatformMisc
89− { platformMisc_integerLibraryType = IntegerSimple
91− , sToolSettings = ToolSettings
92− { toolSettings_opt_P_fingerprint = fingerprint0
96 platform = Platform
77 platform = Platform
97 { platformWordSize=8
78 { platformWordSize=8