[Git][ghc/ghc][wip/backports-9.4] Document -no-link

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Sat Aug 20 16:20:35 UTC 2022



Ben Gamari pushed to branch wip/backports-9.4 at Glasgow Haskell Compiler / GHC


Commits:
e8a889a7 by Ben Gamari at 2022-08-20T12:20:29-04:00
Document -no-link

- - - - -


2 changed files:

- docs/users_guide/expected-undocumented-flags.txt
- docs/users_guide/phases.rst


Changes:

=====================================
docs/users_guide/expected-undocumented-flags.txt
=====================================
@@ -80,7 +80,6 @@
 -n
 -no-keep-hi-file
 -no-keep-o-file
--no-link
 -no-recomp
 -no-rtsopts
 -no-user-package-conf


=====================================
docs/users_guide/phases.rst
=====================================
@@ -788,6 +788,13 @@ for example).
     You can use an external main function if you initialize the RTS manually
     and pass ``-no-hs-main``. See also :ref:`using-own-main`.
 
+.. ghc-flag:: -no-link
+    :shortdesc: Stop after generating object (``.o``) file
+    :type: mode
+    :category: linking
+
+    Omits the link step.
+
 .. ghc-flag:: -c
     :shortdesc: Stop after generating object (``.o``) file
     :type: mode



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e8a889a7fc670532a3bf883a3e25acba92e6e6e1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e8a889a7fc670532a3bf883a3e25acba92e6e6e1
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20220820/fc3e4347/attachment-0001.html>


More information about the ghc-commits mailing list