summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-02-28 19:18:37 +0000
committerIan Lynagh <igloo@earth.li>2010-02-28 19:18:37 +0000
commit8346e807afa6cffe8ef11dcd79c35f5b55f96f68 (patch)
tree8e043c8f6feb592bc6fda0c0a18da37bfd7fd872 /docs/users_guide
parent0c658578d609f93a25a8dff97b5cead055b246e3 (diff)
downloadhaskell-8346e807afa6cffe8ef11dcd79c35f5b55f96f68.tar.gz
Add -no-auto-link-packages docs to the user guide; fixes trac #3759
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/flags.xml6
-rw-r--r--docs/users_guide/packages.xml11
2 files changed, 17 insertions, 0 deletions
diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml
index 6be97d79f4..1a26beeeb1 100644
--- a/docs/users_guide/flags.xml
+++ b/docs/users_guide/flags.xml
@@ -599,6 +599,12 @@
<entry>static</entry>
<entry>-</entry>
</row>
+ <row>
+ <entry><option>-no-auto-link-packages</option></entry>
+ <entry>Don't automatically link in the haskell98 package.</entry>
+ <entry>dynamic</entry>
+ <entry>-</entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
diff --git a/docs/users_guide/packages.xml b/docs/users_guide/packages.xml
index b9531f77e8..728b974d84 100644
--- a/docs/users_guide/packages.xml
+++ b/docs/users_guide/packages.xml
@@ -239,6 +239,17 @@ exposed-modules: Network.BSD,
</varlistentry>
<varlistentry>
+ <term><option>-no-auto-link-packages</option>
+ <indexterm><primary><option>-no-auto-link-packages</option></primary>
+ </indexterm></term>
+ <listitem>
+ <para>By default, GHC will automatically link in the
+ <literal>haskell98</literal> package. This flag disables that
+ behaviour.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-package-name</option> <replaceable>foo</replaceable>
<indexterm><primary><option>-package-name</option></primary>
</indexterm></term>