HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

Moduleghc-10.0.0.20260917GHC2024

GHC.Linker.Static

  • 1 value
valuelinkStaticLib
  1. :: Logger
  2. -> DynFlags
  3. -> UnitEnv
  4. -> [String]
  5. -> [UnitId]
  6. -> IO ()
#

Linking a static lib will not really link anything. It will merely produce a static archive of all dependent static libraries. The resulting library will still need to be linked with any remaining link flags.