HORIZON HASKELLDocslts/ghc-10.0.x04404a62026-10-19Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 04404a6 · 2026-10-19

ModuleCabal-3.18.1.0Haskell2010

Distribution.Simple.Program.Internal

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

Synopsis
  • 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.