[Git][ghc/ghc][master] Doc: document -pgmi "" (#26634)
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 3995187c by Sylvain Henry at 2025-12-18T13:21:45-05:00 Doc: document -pgmi "" (#26634) - - - - - 1 changed file: - docs/users_guide/phases.rst Changes: ===================================== docs/users_guide/phases.rst ===================================== @@ -155,6 +155,14 @@ given compilation phase: :ghc-flag:`-prof` is enabled, ``ghc-iserv-dyn`` if :ghc-flag:`-dynamic` is enabled, or ``ghc-iserv`` otherwise. + If <cmd> is the empty string then GHC will try to build an appropriate iserv + program for the target platform. It does this by looking for the installed + ``ghci`` unit and by building an executable program that uses + ``ghci:GHCi.Server.defaultServer`` as an entry point. Note that it doesn't + work when cross-compiling: the cross-compiled ``iserv`` program (if it can + be built) can't be run on the build platform. + + .. _forcing-options-through: Forcing options to a particular phase View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3995187c5d2d71984acd79d045aca7aa... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3995187c5d2d71984acd79d045aca7aa... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)