{-# 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 = "ab9b3ace24e57359d5745dd9abf593d1ec94a0ad" cProjectVersion :: String cProjectVersion = "8.9.0.20190423" cProjectVersionInt :: String cProjectVersionInt = "809" cProjectPatchLevel :: String cProjectPatchLevel = "020190423" cProjectPatchLevel1 :: String cProjectPatchLevel1 = "0" cProjectPatchLevel2 :: String cProjectPatchLevel2 = "20190423" cBooterVersion :: String cBooterVersion = "8.6.4" cStage :: String cStage = show (STAGE :: Int) cIntegerLibrary :: String cIntegerLibrary = "integer-simple" cIntegerLibraryType :: IntegerLibrary cIntegerLibraryType = IntegerSimple cGhcWithInterpreter :: String cGhcWithInterpreter = "YES" cGhcWithNativeCodeGen :: String cGhcWithNativeCodeGen = "YES" cGhcWithSMP :: String cGhcWithSMP = "YES" cGhcRTSWays :: String cGhcRTSWays = "v thr p thr_p debug_p thr_debug_p l thr_l debug thr_debug dyn thr_dyn debug_dyn l_dyn thr_debug_dyn thr_l_dyn" cGhcEnableTablesNextToCode :: String cGhcEnableTablesNextToCode = "YES" cLeadingUnderscore :: String cLeadingUnderscore = "YES" cGHC_UNLIT_PGM :: String cGHC_UNLIT_PGM = "unlit" cLibFFI :: Bool cLibFFI = False cGhcThreaded :: Bool cGhcThreaded = True cGhcDebugged :: Bool cGhcDebugged = False cGhcRtsWithLibdw :: Bool cGhcRtsWithLibdw = False