ghc-9.14.0.20251128: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Linker.Dynamic

Description

Dynamic linker

Synopsis

Documentation

linkDynLib :: Logger -> TmpFs -> DynFlags -> UnitEnv -> [String] -> [UnitId] -> IO () #

Platform-specifics

libmLinkOpts :: Platform -> [Option] #

Some platforms require that we explicitly link against libm if any math-y things are used (which we assume to include all programs). See #14022.