Safe Haskell | None |
---|
- data GhcOptions = GhcOptions {
- ghcOptMode :: Flag GhcMode
- ghcOptExtra :: [String]
- ghcOptExtraDefault :: [String]
- ghcOptInputFiles :: [FilePath]
- ghcOptInputModules :: [ModuleName]
- ghcOptOutputFile :: Flag FilePath
- ghcOptSourcePathClear :: Flag Bool
- ghcOptSourcePath :: [FilePath]
- ghcOptPackageName :: Flag PackageId
- ghcOptPackageDBs :: PackageDBStack
- ghcOptPackages :: [(InstalledPackageId, PackageId)]
- ghcOptHideAllPackages :: Flag Bool
- ghcOptNoAutoLinkPackages :: Flag Bool
- ghcOptLinkLibs :: [FilePath]
- ghcOptLinkLibPath :: [FilePath]
- ghcOptLinkOptions :: [String]
- ghcOptLinkFrameworks :: [String]
- ghcOptNoLink :: Flag Bool
- ghcOptCcOptions :: [String]
- ghcOptCppOptions :: [String]
- ghcOptCppIncludePath :: [FilePath]
- ghcOptCppIncludes :: [FilePath]
- ghcOptFfiIncludes :: [FilePath]
- ghcOptLanguage :: Flag Language
- ghcOptExtensions :: [Extension]
- ghcOptExtensionMap :: [(Extension, String)]
- ghcOptOptimisation :: Flag GhcOptimisation
- ghcOptProfilingMode :: Flag Bool
- ghcOptSplitObjs :: Flag Bool
- ghcOptGHCiScripts :: [FilePath]
- ghcOptHiSuffix :: Flag String
- ghcOptObjSuffix :: Flag String
- ghcOptHiDir :: Flag FilePath
- ghcOptObjDir :: Flag FilePath
- ghcOptStubDir :: Flag FilePath
- ghcOptDynamic :: Flag Bool
- ghcOptShared :: Flag Bool
- ghcOptFPic :: Flag Bool
- ghcOptDylibName :: Flag String
- ghcOptVerbosity :: Flag Verbosity
- ghcOptCabal :: Flag Bool
- data GhcMode
- data GhcOptimisation
- ghcInvocation :: ConfiguredProgram -> GhcOptions -> ProgramInvocation
- renderGhcOptions :: Version -> GhcOptions -> [String]
- runGHC :: Verbosity -> ConfiguredProgram -> GhcOptions -> IO ()
Documentation
data GhcOptions Source
A structured set of GHC options/flags
GhcOptions | |
|
GhcModeCompile | ghc -c |
GhcModeLink | ghc |
GhcModeMake | ghc --make |
GhcModeInteractive |
|
GhcModeAbiHash |
|
data GhcOptimisation Source
renderGhcOptions :: Version -> GhcOptions -> [String]Source
runGHC :: Verbosity -> ConfiguredProgram -> GhcOptions -> IO ()Source