summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-08-29 17:44:23 -0500
committerAustin Seipp <aseipp@pobox.com>2013-08-29 17:45:00 -0500
commit8940dd72cdcbade209963cdfd0f62b0fd6d7c492 (patch)
tree1cd2d574deae099578c4dd0760fccf4b0c070cde /docs
parent8c20f5d38c8994b633d6977e3001cbfd6715a59f (diff)
downloadhaskell-8940dd72cdcbade209963cdfd0f62b0fd6d7c492.tar.gz
Add release notes about -dynamic-too
See #8181. Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/7.8.1-notes.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml
index 56c4f743ae..5c9c1c9993 100644
--- a/docs/users_guide/7.8.1-notes.xml
+++ b/docs/users_guide/7.8.1-notes.xml
@@ -208,6 +208,24 @@
<itemizedlist>
<listitem>
<para>
+ GHC can now build both static and dynamic object
+ files at the same time in a single compilation
+ pass, when given the
+ <literal>-dynamic-too</literal> flag. This will
+ produce both a statically-linkable
+ <literal>.o</literal> object file, and a
+ dynamically-linkable <literal>.dyn_o</literal>
+ file. The output suffix of the dynamic objects can
+ be controlled by the flag
+ <literal>-dyno</literal>.
+ </para>
+
+ <para>
+ Note that GHC still builds statically by default.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
GHC now supports a <literal>--show-options</literal> flag,
which will dump all of the flags it supports to standard out.
</para>