| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
GHC.SysTools.Tasks
Synopsis
- runUnlit :: Logger -> DynFlags -> [Option] -> IO ()
- data SourceCodePreprocessor
- runSourceCodePreprocessor :: Logger -> TmpFs -> DynFlags -> SourceCodePreprocessor -> [Option] -> IO ()
- runPp :: Logger -> DynFlags -> [Option] -> IO ()
- runCc :: Maybe ForeignSrcLang -> Logger -> TmpFs -> TempDir -> CcConfig -> [Option] -> IO ()
- configureCc :: DynFlags -> CcConfig
- data CcConfig = CcConfig {}
- configureLd :: DynFlags -> LdConfig
- askLd :: Logger -> LdConfig -> [Option] -> IO String
- data LdConfig = LdConfig {}
- runAs :: Logger -> DynFlags -> [Option] -> IO ()
- runLlvmOpt :: Logger -> DynFlags -> [Option] -> IO ()
- runLlvmLlc :: Logger -> DynFlags -> [Option] -> IO ()
- runLlvmAs :: Logger -> DynFlags -> [Option] -> IO ()
- runEmscripten :: Logger -> DynFlags -> [Option] -> IO ()
- figureLlvmVersion :: Logger -> DynFlags -> IO (Maybe LlvmVersion)
- runMergeObjects :: Logger -> TmpFs -> DynFlags -> [Option] -> IO ()
- runAr :: Logger -> ArConfig -> Maybe FilePath -> [Option] -> IO ()
- newtype ArConfig = ArConfig {}
- configureAr :: DynFlags -> ArConfig
- askOtool :: Logger -> OtoolConfig -> Maybe FilePath -> [Option] -> IO String
- configureOtool :: DynFlags -> OtoolConfig
- newtype OtoolConfig = OtoolConfig {}
- runInstallNameTool :: Logger -> InstallNameConfig -> [Option] -> IO ()
- newtype InstallNameConfig = InstallNameConfig {}
- configureInstallName :: DynFlags -> InstallNameConfig
- runRanlib :: Logger -> RanlibConfig -> [Option] -> IO ()
- newtype RanlibConfig = RanlibConfig {
- ranlibProg :: String
- configureRanlib :: DynFlags -> RanlibConfig
- runWindres :: Logger -> WindresConfig -> [Option] -> IO ()
- data WindresConfig = WindresConfig {
- windresProg :: String
- windresOpts :: [Option]
- windresCOpts :: [Option]
- configureWindres :: DynFlags -> WindresConfig
Documentation
data SourceCodePreprocessor Source #
See the Note [Preprocessing invocations]
Constructors
| SCPCpp | Use the ordinary C preprocessor |
| SCPHsCpp | Use the Haskell C preprocessor (don't remove C comments, don't break on names including single quotes) |
| SCPJsCpp | Use the JavaScript preprocessor (don't remove jsdoc and multiline comments) |
| SCPCmmCpp | Use the C-- preprocessor (don't emit debug information) |
Instances
| Eq SourceCodePreprocessor Source # | |
Defined in GHC.SysTools.Tasks Methods (==) :: SourceCodePreprocessor -> SourceCodePreprocessor -> Bool Source # (/=) :: SourceCodePreprocessor -> SourceCodePreprocessor -> Bool Source # | |
runSourceCodePreprocessor :: Logger -> TmpFs -> DynFlags -> SourceCodePreprocessor -> [Option] -> IO () Source #
Run source code preprocessor. See also Note [Preprocessing invocations] in GHC.SysTools.Cpp
runCc :: Maybe ForeignSrcLang -> Logger -> TmpFs -> TempDir -> CcConfig -> [Option] -> IO () Source #
Run compiler of C-like languages and raw objects (such as gcc or clang).
configureCc :: DynFlags -> CcConfig Source #
configureLd :: DynFlags -> LdConfig Source #
askLd :: Logger -> LdConfig -> [Option] -> IO String Source #
Run the linker with some arguments and return the output
figureLlvmVersion :: Logger -> DynFlags -> IO (Maybe LlvmVersion) Source #
Figure out which version of LLVM we are running this session
configureAr :: DynFlags -> ArConfig Source #
configureOtool :: DynFlags -> OtoolConfig Source #
newtype OtoolConfig Source #
Constructors
| OtoolConfig | |
runInstallNameTool :: Logger -> InstallNameConfig -> [Option] -> IO () Source #
newtype InstallNameConfig Source #
Constructors
| InstallNameConfig | |
Fields | |
newtype RanlibConfig Source #
Constructors
| RanlibConfig | |
Fields
| |
runWindres :: Logger -> WindresConfig -> [Option] -> IO () Source #
data WindresConfig Source #
Constructors
| WindresConfig | |
Fields
| |