Add a --print-docdir flag
[ghc-hetmet.git] / docs / users_guide / flags.xml
index f185fb2..d47fcbf 100644 (file)
              <entry>-</entry>
            </row>
            <row>
+             <entry><option>&ndash;&ndash;print-docdir</option></entry>
+             <entry>display GHC documentation directory</entry>
+             <entry>mode</entry>
+             <entry>-</entry>
+           </row>
+           <row>
              <entry><option>-ferror-spans</option></entry>
              <entry>output full span in error messages</entry>
              <entry>static</entry>
            </row>
            <row>
              <entry><option>-XGADTs</option></entry>
-             <entry>Enable <link linkend="gadts">generalised algebraic data types</link>.
+             <entry>Enable <link linkend="gadt">generalised algebraic data types</link>.
              </entry>
              <entry>dynamic</entry>
              <entry><option>-XNoGADTs</option></entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
+           <row>
+             <entry><option>-fno-gen-manifest</option></entry>
+             <entry>Do not generate a manifest file (Windows only)</entry>
+             <entry>dynamic</entry>
+             <entry>-</entry>
+           </row>
+           <row>
+             <entry><option>-fno-embed-manifest</option></entry>
+             <entry>Do not embed the manifest in the executable (Windows only)</entry>
+             <entry>dynamic</entry>
+             <entry>-</entry>
+           </row>
          </tbody>
        </tgroup>
       </informaltable>
              <entry>dynamic</entry>
              <entry>-</entry>
            </row>
+           <row>
+             <entry><option>-pgmwindres</option> <replaceable>cmd</replaceable></entry>
+             <entry>Use <replaceable>cmd</replaceable> as the program for
+                embedding manifests on Windows.</entry>
+             <entry>dynamic</entry>
+             <entry>-</entry>
+           </row>
          </tbody>
        </tgroup>
       </informaltable>
              <entry>dynamic</entry>
              <entry>-</entry>
            </row>
+           <row>
+             <entry><option>-optwindres</option> <replaceable>option</replaceable></entry>
+             <entry>pass <replaceable>option</replaceable> to <literal>windres</literal>.</entry>
+             <entry>dynamic</entry>
+             <entry>-</entry>
+           </row>
          </tbody>
        </tgroup>
       </informaltable>