Change the way module initialisation is done (#3252, #4417)
[ghc-hetmet.git] / docs / users_guide / packages.xml
index b9531f7..86df594 100644 (file)
@@ -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>
@@ -268,7 +279,6 @@ exposed-modules: Network.BSD,
 <programlisting>
 /usr/bin/ld: Undefined symbols:
 _ZCMain_main_closure
-___stginit_ZCMain
 </programlisting>
 </para>
 
@@ -1585,7 +1595,6 @@ haddock-html: /usr/share/doc/ghc/html/libraries/unix
 
 <!-- Emacs stuff:
      ;;; Local Variables: ***
-     ;;; mode: xml ***
      ;;; sgml-parent-document: ("users_guide.xml" "book" "chapter" "sect1") ***
      ;;; End: ***
  -->