summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZiyang Liu <unsafeFixIO@gmail.com>2021-09-14 20:09:55 -0700
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-17 09:44:18 -0400
commit053a5c2c644993274e7779b446170e96e49ab491 (patch)
tree1ca145abcc9d801ae12ae5254a830f709f1dcdd5
parent15a5b7a5da610bcd85c825ce0b7b7b5a422dc2ae (diff)
downloadhaskell-053a5c2c644993274e7779b446170e96e49ab491.tar.gz
Add doc for -dyno, -dynosuf, -dynhisuf
-rw-r--r--docs/users_guide/expected-undocumented-flags.txt3
-rw-r--r--docs/users_guide/separate_compilation.rst26
2 files changed, 26 insertions, 3 deletions
diff --git a/docs/users_guide/expected-undocumented-flags.txt b/docs/users_guide/expected-undocumented-flags.txt
index ed332eee5f..2dcc0d8591 100644
--- a/docs/users_guide/expected-undocumented-flags.txt
+++ b/docs/users_guide/expected-undocumented-flags.txt
@@ -33,9 +33,6 @@
-dsource-stats
-dstg-stats
-dsuppress-stg-exts
--dynhisuf
--dyno
--dynosuf
-exclude-module
-fallow-incoherent-instances
-fallow-overlapping-instances
diff --git a/docs/users_guide/separate_compilation.rst b/docs/users_guide/separate_compilation.rst
index b1f792d389..c6e9b7d0b6 100644
--- a/docs/users_guide/separate_compilation.rst
+++ b/docs/users_guide/separate_compilation.rst
@@ -240,6 +240,14 @@ Redirecting the compilation output(s)
will produce ``Prog`` (or ``Prog.exe`` if you are on Windows).
+.. ghc-flag:: -dyno ⟨file⟩
+ :shortdesc: set dynamic output filename
+ :type: dynamic
+ :category:
+
+ When using ``-dynamic-too``, option ``-dyno`` ⟨suffix⟩ is the
+ counterpart of ``-o``. It redirects the dynamic output to ⟨file⟩.
+
.. ghc-flag:: -odir ⟨dir⟩
:shortdesc: set directory for object files
:type: dynamic
@@ -354,6 +362,15 @@ Redirecting the compilation output(s)
so that objects for the profiling versions of the libraries don't
clobber the normal ones.
+.. ghc-flag:: -dynosuf ⟨suffix⟩
+ :shortdesc: set the dynamic output file suffix
+ :type: dynamic
+ :category:
+
+ When using ``-dynamic-too``, option ``-dynosuf`` ⟨suffix⟩ is the
+ counterpart of ``-osuf``. It changes the ``.dyn_o`` file suffix
+ for dynamic object files.
+
.. ghc-flag:: -hisuf ⟨suffix⟩
:shortdesc: set the suffix to use for interface files
:type: dynamic
@@ -378,6 +395,15 @@ Redirecting the compilation output(s)
to get the profiled version.
+.. ghc-flag:: -dynhisuf ⟨suffix⟩
+ :shortdesc: set the suffix to use for dynamic interface files
+ :type: dynamic
+ :category:
+
+ When using ``-dynamic-too``, option ``-dynhisuf`` ⟨suffix⟩ is the
+ counterpart of ``-hisuf``. It changes the ``.dyn_hi`` file suffix
+ for dynamic interface files.
+
.. ghc-flag:: -hiesuf ⟨suffix⟩
:shortdesc: set the suffix to use for extended interface files
:type: dynamic