Safe Haskell | None |
---|---|
Language | GHC2021 |
Linking Haskell units
Synopsis
- data UnitLinkOpts = UnitLinkOpts {}
- collectLinkOpts :: GhcNameVersion -> Ways -> [UnitInfo] -> UnitLinkOpts
- collectArchives :: GhcNameVersion -> Ways -> UnitInfo -> IO [FilePath]
- getUnitLinkOpts :: GhcNameVersion -> Ways -> UnitEnv -> [UnitId] -> IO UnitLinkOpts
- getLibs :: GhcNameVersion -> Ways -> UnitEnv -> [UnitId] -> IO [(String, String)]
Documentation
data UnitLinkOpts Source #
Linker flags collected from units
Instances
Show UnitLinkOpts Source # | |
Defined in GHC.Linker.Unit showsPrec :: Int -> UnitLinkOpts -> ShowS # show :: UnitLinkOpts -> String # showList :: [UnitLinkOpts] -> ShowS # |
collectLinkOpts :: GhcNameVersion -> Ways -> [UnitInfo] -> UnitLinkOpts Source #
collectArchives :: GhcNameVersion -> Ways -> UnitInfo -> IO [FilePath] Source #
getUnitLinkOpts :: GhcNameVersion -> Ways -> UnitEnv -> [UnitId] -> IO UnitLinkOpts Source #
Find all the link options in these and the preload packages, returning (package hs lib options, extra library options, other flags)