| Safe Haskell | Ignore |
|---|---|
| Language | GHC2021 |
GHC.Settings
Contents
Description
Run-time settings
Synopsis
- data Settings = Settings {}
- data ToolSettings = ToolSettings {
- toolSettings_ldSupportsCompactUnwind :: Bool
- toolSettings_ldSupportsFilelist :: Bool
- toolSettings_ldSupportsSingleModule :: Bool
- toolSettings_mergeObjsSupportsResponseFiles :: Bool
- toolSettings_ldIsGnuLd :: Bool
- toolSettings_ccSupportsNoPie :: Bool
- toolSettings_useInplaceMinGW :: Bool
- toolSettings_arSupportsDashL :: Bool
- toolSettings_cmmCppSupportsG0 :: Bool
- toolSettings_pgm_L :: String
- toolSettings_pgm_P :: (String, [Option])
- toolSettings_pgm_JSP :: (String, [Option])
- toolSettings_pgm_CmmP :: (String, [Option])
- toolSettings_pgm_F :: String
- toolSettings_pgm_c :: String
- toolSettings_pgm_cxx :: String
- toolSettings_pgm_cpp :: (String, [Option])
- toolSettings_pgm_a :: (String, [Option])
- toolSettings_pgm_l :: (String, [Option])
- toolSettings_pgm_lm :: Maybe (String, [Option])
- toolSettings_pgm_windres :: String
- toolSettings_pgm_ar :: String
- toolSettings_pgm_otool :: String
- toolSettings_pgm_install_name_tool :: String
- toolSettings_pgm_ranlib :: String
- toolSettings_pgm_lo :: (String, [Option])
- toolSettings_pgm_lc :: (String, [Option])
- toolSettings_pgm_las :: (String, [Option])
- toolSettings_pgm_i :: String
- toolSettings_opt_L :: [String]
- toolSettings_opt_P :: [String]
- toolSettings_opt_JSP :: [String]
- toolSettings_opt_CmmP :: [String]
- toolSettings_opt_P_fingerprint :: Fingerprint
- toolSettings_opt_JSP_fingerprint :: Fingerprint
- toolSettings_opt_CmmP_fingerprint :: Fingerprint
- toolSettings_opt_F :: [String]
- toolSettings_opt_c :: [String]
- toolSettings_opt_cxx :: [String]
- toolSettings_opt_a :: [String]
- toolSettings_opt_l :: [String]
- toolSettings_opt_lm :: [String]
- toolSettings_opt_windres :: [String]
- toolSettings_opt_lo :: [String]
- toolSettings_opt_lc :: [String]
- toolSettings_opt_las :: [String]
- toolSettings_opt_i :: [String]
- toolSettings_extraGccViaCFlags :: [String]
- data FileSettings = FileSettings {}
- data UnitSettings = UnitSettings {}
- data GhcNameVersion = GhcNameVersion {}
- data Platform = Platform {
- platformArchOS :: !ArchOS
- platformWordSize :: !PlatformWordSize
- platformByteOrder :: !ByteOrder
- platformUnregisterised :: !Bool
- platformHasGnuNonexecStack :: !Bool
- platformHasIdentDirective :: !Bool
- platformHasSubsectionsViaSymbols :: !Bool
- platformIsCrossCompiling :: !Bool
- platformLeadingUnderscore :: !Bool
- platformTablesNextToCode :: !Bool
- platformHasLibm :: !Bool
- platform_constants :: !(Maybe PlatformConstants)
- data PlatformMisc = PlatformMisc {}
- dynLibSuffix :: GhcNameVersion -> String
- sProgramName :: Settings -> String
- sProjectVersion :: Settings -> String
- sGhcUsagePath :: Settings -> FilePath
- sGhciUsagePath :: Settings -> FilePath
- sToolDir :: Settings -> Maybe FilePath
- sTopDir :: Settings -> FilePath
- sGlobalPackageDatabasePath :: Settings -> FilePath
- sLdSupportsCompactUnwind :: Settings -> Bool
- sLdSupportsFilelist :: Settings -> Bool
- sMergeObjsSupportsResponseFiles :: Settings -> Bool
- sLdIsGnuLd :: Settings -> Bool
- sGccSupportsNoPie :: Settings -> Bool
- sUseInplaceMinGW :: Settings -> Bool
- sArSupportsDashL :: Settings -> Bool
- sPgm_L :: Settings -> String
- sPgm_P :: Settings -> (String, [Option])
- sPgm_JSP :: Settings -> (String, [Option])
- sPgm_CmmP :: Settings -> (String, [Option])
- sPgm_F :: Settings -> String
- sPgm_c :: Settings -> String
- sPgm_cxx :: Settings -> String
- sPgm_cpp :: Settings -> (String, [Option])
- sPgm_a :: Settings -> (String, [Option])
- sPgm_l :: Settings -> (String, [Option])
- sPgm_lm :: Settings -> Maybe (String, [Option])
- sPgm_windres :: Settings -> String
- sPgm_ar :: Settings -> String
- sPgm_otool :: Settings -> String
- sPgm_install_name_tool :: Settings -> String
- sPgm_ranlib :: Settings -> String
- sPgm_lo :: Settings -> (String, [Option])
- sPgm_lc :: Settings -> (String, [Option])
- sPgm_las :: Settings -> (String, [Option])
- sPgm_i :: Settings -> String
- sOpt_L :: Settings -> [String]
- sOpt_P :: Settings -> [String]
- sOpt_P_fingerprint :: Settings -> Fingerprint
- sOpt_JSP :: Settings -> [String]
- sOpt_JSP_fingerprint :: Settings -> Fingerprint
- sOpt_CmmP :: Settings -> [String]
- sOpt_CmmP_fingerprint :: Settings -> Fingerprint
- sOpt_F :: Settings -> [String]
- sOpt_c :: Settings -> [String]
- sOpt_cxx :: Settings -> [String]
- sOpt_a :: Settings -> [String]
- sOpt_l :: Settings -> [String]
- sOpt_lm :: Settings -> [String]
- sOpt_windres :: Settings -> [String]
- sOpt_lo :: Settings -> [String]
- sOpt_lc :: Settings -> [String]
- sOpt_i :: Settings -> [String]
- sExtraGccViaCFlags :: Settings -> [String]
- sTargetPlatformString :: Settings -> String
- sGhcWithInterpreter :: Settings -> Bool
- sLibFFI :: Settings -> Bool
- sTargetRTSLinkerOnlySupportsSharedLibs :: Settings -> Bool
Documentation
Constructors
| Settings | |
Fields
| |
data ToolSettings #
Settings for other executables GHC calls.
Probably should further split down by phase, or split between platform-specific and platform-agnostic.
Constructors
data FileSettings #
Paths to various files and directories used by GHC, including those that provide more settings.
data UnitSettings #
Constructors
| UnitSettings | |
Fields | |
Platform description
This is used to describe platforms so that we can generate code for them.
Constructors
| Platform | |
Fields
| |
Instances
| Read Platform # | |
| Show Platform # | |
| Eq Platform # | |
| Ord Platform # | |
Defined in GHC.Platform | |
| OutputableP Platform CmmGraph # | |
| OutputableP Platform CmmInfoTable # | |
| OutputableP Platform CmmStatic # | |
| OutputableP Platform CmmTopInfo # | |
| OutputableP Platform CLabel # | |
| OutputableP Platform InfoProvEnt # | |
Defined in GHC.Cmm.CLabel Methods pdoc :: Platform -> InfoProvEnt -> SDoc # | |
| OutputableP Platform CmmExpr # | |
| OutputableP Platform CmmLit # | |
| OutputableP Platform ForeignTarget # | |
Defined in GHC.Cmm.Node Methods pdoc :: Platform -> ForeignTarget -> SDoc # | |
| OutputableP Platform (GenCmmStatics a) # | |
| OutputableP Platform (CmmNode e x) # | |
| (OutputableP Platform d, OutputableP Platform info, OutputableP Platform i) => OutputableP Platform (GenCmmDecl d info i) # | |
| OutputableP Platform (Block CmmNode C C) # | |
| OutputableP Platform (Block CmmNode C O) # | |
| OutputableP Platform (Block CmmNode O C) # | |
| OutputableP Platform (Block CmmNode O O) # | |
| OutputableP Platform (Graph CmmNode e x) # | |
data PlatformMisc #
Platform-specific settings formerly hard-coded in Config.hs.
These should probably be all be triaged whether they can be computed from
other settings or belong in another another place (like Platform above).
Accessors
dynLibSuffix :: GhcNameVersion -> String #
Dynamic library suffix
sProgramName :: Settings -> String #
sProjectVersion :: Settings -> String #
sGhcUsagePath :: Settings -> FilePath #
sGhciUsagePath :: Settings -> FilePath #
sLdSupportsFilelist :: Settings -> Bool #
sLdIsGnuLd :: Settings -> Bool #
sGccSupportsNoPie :: Settings -> Bool #
sUseInplaceMinGW :: Settings -> Bool #
sArSupportsDashL :: Settings -> Bool #
sPgm_windres :: Settings -> String #
sPgm_otool :: Settings -> String #
sPgm_ranlib :: Settings -> String #
sOpt_windres :: Settings -> [String] #
sExtraGccViaCFlags :: Settings -> [String] #
sTargetPlatformString :: Settings -> String #
sGhcWithInterpreter :: Settings -> Bool #