{-# LANGUAGE CPP #-} module Config where import GhcPrelude #include "ghc_boot_platform.h" data IntegerLibrary = IntegerGMP | IntegerSimple deriving Eq cBuildPlatformString :: String cBuildPlatformString = BuildPlatform_NAME cHostPlatformString :: String cHostPlatformString = HostPlatform_NAME cTargetPlatformString :: String cTargetPlatformString = TargetPlatform_NAME cProjectName :: String cProjectName = "The Glorious Glasgow Haskell Compilation System" cProjectGitCommitId :: String cProjectGitCommitId = "9c787d4d24f2b515934c8503ee2bbd7cfac4da20" cProjectVersion :: String cProjectVersion = "8.8.1" cProjectVersionInt :: String cProjectVersionInt = "808" cProjectPatchLevel :: String cProjectPatchLevel = "1" cProjectPatchLevel1 :: String cProjectPatchLevel1 = "1" cProjectPatchLevel2 :: String cProjectPatchLevel2 = "" cBooterVersion :: String cBooterVersion = "8.4.3" cStage :: String cStage = show (STAGE :: Int) cIntegerLibrary :: String cIntegerLibrary = "integer-simple" cIntegerLibraryType :: IntegerLibrary cIntegerLibraryType = IntegerSimple cSupportsSplitObjs :: String cSupportsSplitObjs = "YES" cGhcWithInterpreter :: String cGhcWithInterpreter = "YES" cGhcWithNativeCodeGen :: String cGhcWithNativeCodeGen = "YES" cGhcWithSMP :: String cGhcWithSMP = "YES" cGhcRTSWays :: String cGhcRTSWays = "v thr" cGhcEnableTablesNextToCode :: String cGhcEnableTablesNextToCode = "YES" cLeadingUnderscore :: String cLeadingUnderscore = "NO" cGHC_UNLIT_PGM :: String cGHC_UNLIT_PGM = "unlit" cGHC_SPLIT_PGM :: String cGHC_SPLIT_PGM = "ghc-split" cLibFFI :: Bool cLibFFI = False cGhcThreaded :: Bool cGhcThreaded = True cGhcDebugged :: Bool cGhcDebugged = False cGhcRtsWithLibdw :: Bool cGhcRtsWithLibdw = False