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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

ModuleCabal-3.18.1.0Haskell2010

Distribution.Simple.Program.Internal

Internal utilities used by Distribution.Simple.Program.*.

  • 1 value
  • PackageCabal-3.18.1.0
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceInternal.hs

Extract the version number from the output of 'strip --version'.

Invoking "strip --version" gives very inconsistent results. We ignore everything in parentheses (see #2497), look for the first word that starts with a number, and try parsing out the first two components of it. Non-GNU, non-LLVM strip doesn't appear to have a version flag.