Merge branch 'master' of http://darcs.haskell.org/ghc into ghc-generics
[ghc-hetmet.git] / docs / users_guide / flags.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2   <sect1 id="flag-reference">
3     <title>Flag reference</title>
4
5     <para>This section is a quick-reference for GHC's command-line
6     flags.  For each flag, we also list its static/dynamic status (see
7     <xref linkend="static-dynamic-flags"/>), and the flag's opposite
8     (if available).</para>
9
10     <sect2>
11       <title>Help and verbosity options</title>
12
13       <para><xref linkend="options-help"/></para>
14
15       <informaltable>
16         <tgroup cols="4" align="left" colsep="1" rowsep="1">
17           <thead>
18             <row>
19               <entry>Flag</entry>
20               <entry>Description</entry>
21               <entry>Static/Dynamic</entry>
22               <entry>Reverse</entry>
23             </row>
24           </thead>
25           <tbody>
26             <row>
27               <entry><option>-?</option></entry>
28               <entry>help</entry>
29               <entry>mode</entry>
30               <entry>-</entry>
31             </row>
32             <row>
33               <entry><option>-help</option></entry>
34               <entry>help</entry>
35               <entry>mode</entry>
36               <entry>-</entry>
37             </row>
38             <row>
39               <entry><option>-n</option></entry>
40               <entry>do a dry run</entry>
41               <entry>dynamic</entry>
42               <entry>-</entry>
43             </row>
44             <row>
45               <entry><option>-v</option></entry>
46               <entry>verbose mode (equivalent to <option>-v3</option>)</entry>
47               <entry>dynamic</entry>
48               <entry>-</entry>
49             </row>
50             <row>
51               <entry><option>-v</option><replaceable>n</replaceable></entry>
52               <entry>set verbosity level</entry>
53               <entry>dynamic</entry>
54               <entry>-</entry>
55             </row>
56             <row>
57               <entry><option>-V</option></entry>
58               <entry>display GHC version</entry>
59               <entry>mode</entry>
60               <entry>-</entry>
61             </row>
62             <row>
63               <entry><option>&ndash;&ndash;supported-extensions</option> or <option>&ndash;&ndash;supported-languages</option></entry>
64               <entry>display the supported languages and language extensions</entry>
65               <entry>mode</entry>
66               <entry>-</entry>
67             </row>
68             <row>
69               <entry><option>&ndash;&ndash;info</option></entry>
70               <entry>display information about the compiler</entry>
71               <entry>mode</entry>
72               <entry>-</entry>
73             </row>
74             <row>
75               <entry><option>&ndash;&ndash;version</option></entry>
76               <entry>display GHC version</entry>
77               <entry>mode</entry>
78               <entry>-</entry>
79             </row>
80             <row>
81               <entry><option>&ndash;&ndash;numeric-version</option></entry>
82               <entry>display GHC version (numeric only)</entry>
83               <entry>mode</entry>
84               <entry>-</entry>
85             </row>
86             <row>
87               <entry><option>&ndash;&ndash;print-libdir</option></entry>
88               <entry>display GHC library directory</entry>
89               <entry>mode</entry>
90               <entry>-</entry>
91             </row>
92             <row>
93               <entry><option>-ferror-spans</option></entry>
94               <entry>output full span in error messages</entry>
95               <entry>static</entry>
96               <entry>-</entry>
97             </row>
98             <row>
99               <entry><option>-H</option><replaceable>size</replaceable></entry>
100               <entry>Set the minimum heap size to <replaceable>size</replaceable></entry>
101               <entry>static</entry>
102               <entry>-</entry>
103             </row>
104             <row>
105               <entry><option>-Rghc-timing</option></entry>
106               <entry>Summarise timing stats for GHC (same as <literal>+RTS -tstderr</literal>)</entry>
107               <entry>static</entry>
108               <entry>-</entry>
109             </row>
110           </tbody>
111         </tgroup>
112       </informaltable>
113
114     </sect2>
115     <sect2>
116       <title>Which phases to run</title>
117       
118       <para><xref linkend="options-order"/></para>
119
120       <informaltable>
121         <tgroup cols="4" align="left" colsep="1" rowsep="1">
122           <thead>
123             <row>
124               <entry>Flag</entry>
125               <entry>Description</entry>
126               <entry>Static/Dynamic</entry>
127               <entry>Reverse</entry>
128             </row>
129           </thead>
130           <tbody>
131             <row>
132               <entry><option>-E</option></entry>
133               <entry>Stop after preprocessing (<literal>.hspp</literal> file)</entry>
134               <entry>mode</entry>
135               <entry>-</entry>
136             </row>
137             <row>
138               <entry><option>-C</option></entry>
139               <entry>Stop after generating C (<literal>.hc</literal> file)</entry>
140               <entry>mode</entry>
141               <entry>-</entry>
142             </row>
143             <row>
144               <entry><option>-S</option></entry>
145               <entry>Stop after generating assembly (<literal>.s</literal> file)</entry>
146               <entry>mode</entry>
147               <entry>-</entry>
148             </row>
149             <row>
150               <entry><option>-c</option></entry>
151               <entry>Do not link</entry>
152               <entry>dynamic</entry>
153               <entry>-</entry>
154             </row>
155             <row>
156               <entry><option>-x</option> <replaceable>suffix</replaceable></entry>
157               <entry>Override default behaviour for source files</entry>
158               <entry>static</entry>
159               <entry>-</entry>
160             </row>
161           </tbody>
162         </tgroup>
163       </informaltable>
164     </sect2>
165
166      <sect2>
167       <title>Alternative modes of operation</title>
168       
169       <para><xref linkend="modes"/></para>
170
171       <informaltable>
172         <tgroup cols="4" align="left" colsep="1" rowsep="1">
173           <thead>
174             <row>
175               <entry>Flag</entry>
176               <entry>Description</entry>
177               <entry>Static/Dynamic</entry>
178               <entry>Reverse</entry>
179             </row>
180           </thead>
181           <tbody>
182             <row>
183               <entry><option>--interactive</option></entry>
184               <entry>Interactive mode - normally used by just running <command>ghci</command>;
185               see <xref linkend="ghci"/> for details.</entry>
186               <entry>mode</entry>
187               <entry>-</entry>
188             </row>
189             <row>
190               <entry><option>--make</option></entry>
191               <entry>Build a multi-module Haskell program, automatically figuring out dependencies. Likely to be much easier, and faster, than using <command>make</command>;
192               see <xref linkend="make-mode"/> for details..</entry>
193               <entry>mode</entry>
194               <entry>-</entry>
195             </row>
196             <row>
197               <entry><option>-e <replaceable>expr</replaceable></option></entry>
198               <entry>Evaluate <replaceable>expr</replaceable>;
199               see <xref linkend="eval-mode"/> for details.</entry>
200               <entry>mode</entry>
201               <entry>-</entry>
202             </row>
203             <row>
204               <entry><option>-M</option></entry>
205               <entry>Generate dependency information suitable for use in a <filename>Makefile</filename>;
206               see <xref linkend="makefile-dependencies"/> for details.</entry>
207               <entry>mode</entry>
208               <entry>-</entry>
209             </row>
210           </tbody>
211         </tgroup>
212       </informaltable>
213     </sect2>
214
215     <sect2>
216       <title>Redirecting output</title>
217       
218       <para><xref linkend="options-output"/></para>
219
220       <informaltable>
221         <tgroup cols="4" align="left" colsep="1" rowsep="1">
222           <thead>
223             <row>
224               <entry>Flag</entry>
225               <entry>Description</entry>
226               <entry>Static/Dynamic</entry>
227               <entry>Reverse</entry>
228             </row>
229           </thead>
230           <tbody>
231             <row>
232               <entry><option>-hcsuf</option> <replaceable>suffix</replaceable></entry>
233               <entry>set the suffix to use for intermediate C files</entry>
234               <entry>dynamic</entry>
235               <entry>-</entry>
236             </row>
237             <row>
238               <entry><option>-hidir</option> <replaceable>dir</replaceable></entry>
239               <entry>set directory for interface files</entry>
240               <entry>dynamic</entry>
241               <entry>-</entry>
242             </row>
243             <row>
244               <entry><option>-hisuf</option> <replaceable>suffix</replaceable></entry>
245               <entry>set the suffix to use for interface files</entry>
246               <entry>dynamic</entry>
247               <entry>-</entry>
248             </row>
249             <row>
250               <entry><option>-o</option> <replaceable>filename</replaceable></entry>
251               <entry>set output filename</entry>
252               <entry>dynamic</entry>
253               <entry>-</entry>
254             </row>
255             <row>
256               <entry><option>-odir</option> <replaceable>dir</replaceable></entry>
257               <entry>set directory for object files</entry>
258               <entry>dynamic</entry>
259               <entry>-</entry>
260             </row>
261             <row>
262               <entry><option>-ohi</option> <replaceable>filename</replaceable></entry>
263               <entry>set the filename in which to put the interface</entry>
264               <entry>dynamic</entry>
265               <entry></entry>
266             </row>
267             <row>
268               <entry><option>-osuf</option> <replaceable>suffix</replaceable></entry>
269               <entry>set the output file suffix</entry>
270               <entry>dynamic</entry>
271               <entry>-</entry>
272             </row>
273             <row>
274               <entry><option>-stubdir</option> <replaceable>dir</replaceable></entry>
275               <entry>redirect FFi stub files</entry>
276               <entry>dynamic</entry>
277               <entry>-</entry>
278             </row>
279             <row>
280               <entry><option>-outputdir</option> <replaceable>dir</replaceable></entry>
281               <entry>set output directory</entry>
282               <entry>dynamic</entry>
283               <entry>-</entry>
284             </row>
285           </tbody>
286         </tgroup>
287       </informaltable>
288     </sect2>
289
290     <sect2>
291       <title>Keeping intermediate files</title>
292       
293       <para><xref linkend="keeping-intermediates"/></para>
294       
295       <informaltable>
296         <tgroup cols="4" align="left" colsep="1" rowsep="1">
297           <thead>
298             <row>
299               <entry>Flag</entry>
300               <entry>Description</entry>
301               <entry>Static/Dynamic</entry>
302               <entry>Reverse</entry>
303             </row>
304           </thead>
305           <tbody>
306             <row>
307               <entry><option>-keep-hc-file</option> or
308                  <option>-keep-hc-files</option></entry>
309               <entry>retain intermediate <literal>.hc</literal> files</entry>
310               <entry>dynamic</entry>
311               <entry>-</entry>
312             </row>
313             <row>
314               <entry><option>-keep-llvm-file</option> or
315                  <option>-keep-llvm-files</option></entry>
316               <entry>retain intermediate LLVM <literal>.ll</literal> files</entry>
317               <entry>dynamic</entry>
318               <entry>-</entry>
319             </row>
320             <row>
321               <entry><option>-keep-s-file</option> or
322                  <option>-keep-s-files</option></entry>
323               <entry>retain intermediate <literal>.s</literal> files</entry>
324               <entry>dynamic</entry>
325               <entry>-</entry>
326             </row>
327             <row>
328               <entry><option>-keep-tmp-files</option></entry>
329               <entry>retain all intermediate temporary files</entry>
330               <entry>dynamic</entry>
331               <entry>-</entry>
332             </row>
333           </tbody>
334         </tgroup>
335       </informaltable>
336     </sect2>
337
338     <sect2>
339       <title>Temporary files</title>
340       
341       <para><xref linkend="temp-files"/></para>
342
343       <informaltable>
344         <tgroup cols="4" align="left" colsep="1" rowsep="1">
345           <thead>
346             <row>
347               <entry>Flag</entry>
348               <entry>Description</entry>
349               <entry>Static/Dynamic</entry>
350               <entry>Reverse</entry>
351             </row>
352           </thead>
353           <tbody>
354             <row>
355               <entry><option>-tmpdir</option></entry>
356               <entry>set the directory for temporary files</entry>
357               <entry>dynamic</entry>
358               <entry>-</entry>
359             </row>
360           </tbody>
361         </tgroup>
362       </informaltable>
363     </sect2>
364
365     <sect2>
366       <title>Finding imports</title>
367
368       <para><xref linkend="search-path"/></para>
369
370       <informaltable>
371         <tgroup cols="4" align="left" colsep="1" rowsep="1">
372           <thead>
373             <row>
374               <entry>Flag</entry>
375
376               <entry>Description</entry>
377               <entry>Static/Dynamic</entry>
378               <entry>Reverse</entry>
379             </row>
380           </thead>
381           <tbody>
382             <row>
383               <entry><option>-i</option><replaceable>dir1</replaceable>:<replaceable>dir2</replaceable>:...</entry>
384               <entry>add <replaceable>dir</replaceable>,
385                   <replaceable>dir2</replaceable>, etc. to import path</entry>
386               <entry>static/<literal>:set</literal></entry>
387               <entry>-</entry>
388             </row>
389             <row>
390               <entry><option>-i</option></entry>
391               <entry>Empty the import directory list</entry>
392               <entry>static/<literal>:set</literal></entry>
393               <entry>-</entry>
394             </row>
395           </tbody>
396         </tgroup>
397       </informaltable>
398     </sect2>
399
400     <sect2>
401       <title>Interface file options</title>
402
403       <para><xref linkend="hi-options"/></para>
404
405       <informaltable>
406         <tgroup cols="4" align="left" colsep="1" rowsep="1">
407           <thead>
408             <row>
409               <entry>Flag</entry>
410
411               <entry>Description</entry>
412               <entry>Static/Dynamic</entry>
413               <entry>Reverse</entry>
414             </row>
415           </thead>
416           <tbody>
417             <row>
418               <entry><option>-ddump-hi</option></entry>
419               <entry>Dump the new interface to stdout</entry>
420               <entry>dynamic</entry>
421               <entry>-</entry>
422             </row>
423             <row>
424               <entry><option>-ddump-hi-diffs</option></entry>
425               <entry>Show the differences vs. the old interface</entry>
426               <entry>dynamic</entry>
427               <entry>-</entry>
428             </row>
429             <row>
430               <entry><option>-ddump-minimal-imports</option></entry>
431               <entry>Dump a minimal set of imports</entry>
432               <entry>dynamic</entry>
433               <entry>-</entry>
434             </row>
435             <row>
436               <entry><option>--show-iface</option> <replaceable>file</replaceable></entry>
437               <entry>See <xref linkend="modes"/>.</entry>
438             </row>
439           </tbody>
440         </tgroup>
441       </informaltable>
442     </sect2>
443     
444     <sect2>
445       <title>Recompilation checking</title>
446
447       <para><xref linkend="recomp"/></para>
448
449       <informaltable>
450         <tgroup cols="4" align="left" colsep="1" rowsep="1">
451           <thead>
452             <row>
453               <entry>Flag</entry>
454
455               <entry>Description</entry>
456               <entry>Static/Dynamic</entry>
457               <entry>Reverse</entry>
458             </row>
459           </thead>
460           <tbody>
461             <row>
462               <entry><option>-fforce-recomp</option></entry>
463               <entry>Turn off recompilation checking; implied by any
464               <option>-ddump-X</option> option</entry>
465               <entry>dynamic</entry>
466               <entry><option>-fno-force-recomp</option></entry>
467             </row>
468           </tbody>
469         </tgroup>
470       </informaltable>
471     </sect2>
472
473     <sect2 id="interactive-mode-options">
474       <title>Interactive-mode options</title>
475       
476       <para><xref linkend="ghci-dot-files"/></para>
477
478       <informaltable>
479         <tgroup cols="4" align="left" colsep="1" rowsep="1">
480           <thead>
481             <row>
482               <entry>Flag</entry>
483               <entry>Description</entry>
484               <entry>Static/Dynamic</entry>
485               <entry>Reverse</entry>
486             </row>
487           </thead>
488           <tbody>
489             <row>
490               <entry><option>-ignore-dot-ghci</option></entry>
491               <entry>Disable reading of <filename>.ghci</filename> files</entry>
492               <entry>static</entry>
493               <entry>-</entry>
494             </row>
495             <row>
496               <entry><option>-read-dot-ghci</option></entry>
497               <entry>Enable reading of <filename>.ghci</filename> files</entry>
498               <entry>static</entry>
499               <entry>-</entry>
500             </row>
501             <row>
502               <entry><option>-fbreak-on-exception</option></entry>
503               <entry><link linkend="ghci-debugger-exceptions">Break on any exception thrown</link></entry>
504               <entry>dynamic</entry>
505               <entry><option>-fno-break-on-exception</option></entry>
506             </row>
507             <row>
508               <entry><option>-fbreak-on-error</option></entry>
509               <entry><link linkend="ghci-debugger-exceptions">Break on uncaught exceptions and errors</link></entry>
510               <entry>dynamic</entry>
511               <entry><option>-fno-break-on-error</option></entry>
512             </row>
513             <row>
514               <entry><option>-fprint-evld-with-show</option></entry>
515               <entry><link linkend="breakpoints">Enable usage of Show instances in <literal>:print</literal></link></entry>
516               <entry>dynamic</entry>
517               <entry><option>-fno-print-evld-with-show</option></entry>
518             </row>          
519             <row>
520               <entry><option>-fprint-bind-result</option></entry>
521               <entry><link linkend="ghci-stmts">Turn on printing of binding results in GHCi</link></entry>
522               <entry>dynamic</entry>
523               <entry><option>-fno-print-bind-result</option></entry>
524             </row>
525             <row>
526               <entry><option>-fno-print-bind-contents</option></entry>
527               <entry><link linkend="breakpoints">Turn off printing of binding contents in GHCi</link></entry>
528               <entry>dynamic</entry>
529               <entry>-</entry>
530             </row>
531             <row>
532               <entry><option>-fno-implicit-import-qualified</option></entry>
533               <entry><link linkend="ghci-import-qualified">Turn off
534               implicit qualified import of everything in GHCi</link></entry>
535               <entry>dynamic</entry>
536               <entry>-</entry>
537             </row>
538
539           </tbody>
540         </tgroup>
541       </informaltable>
542     </sect2>
543
544     <sect2>
545       <title>Packages</title>
546
547       <para><xref linkend="packages"/></para>
548
549       <informaltable>
550         <tgroup cols="4" align="left" colsep="1" rowsep="1">
551           <thead>
552             <row>
553               <entry>Flag</entry>
554               <entry>Description</entry>
555               <entry>Static/Dynamic</entry>
556               <entry>Reverse</entry>
557             </row>
558           </thead>
559           <tbody>
560             <row>
561               <entry><option>-package-name</option> <replaceable>P</replaceable></entry>
562               <entry>Compile to be part of package <replaceable>P</replaceable></entry>
563               <entry>static</entry>
564               <entry>-</entry>
565             </row>
566             <row>
567               <entry><option>-package</option> <replaceable>P</replaceable></entry>
568               <entry>Expose package <replaceable>P</replaceable></entry>
569               <entry>static/<literal>:set</literal></entry>
570               <entry>-</entry>
571             </row>
572             <row>
573               <entry><option>-hide-all-packages</option></entry>
574               <entry>Hide all packages by default</entry>
575               <entry>static</entry>
576               <entry>-</entry>
577             </row>
578             <row>
579               <entry><option>-hide-package</option> <replaceable>name</replaceable></entry>
580               <entry>Hide package <replaceable>P</replaceable></entry>
581               <entry>static/<literal>:set</literal></entry>
582               <entry>-</entry>
583             </row>
584             <row>
585               <entry><option>-ignore-package</option> <replaceable>name</replaceable></entry>
586               <entry>Ignore package <replaceable>P</replaceable></entry>
587               <entry>static/<literal>:set</literal></entry>
588               <entry>-</entry>
589             </row>
590             <row>
591               <entry><option>-package-conf</option> <replaceable>file</replaceable></entry>
592               <entry>Load more packages from <replaceable>file</replaceable></entry>
593               <entry>static</entry>
594               <entry>-</entry>
595             </row>
596             <row>
597               <entry><option>-no-user-package-conf</option></entry>
598               <entry>Don't load the user's package config file.</entry>
599               <entry>static</entry>
600               <entry>-</entry>
601             </row>
602             <row>
603               <entry><option>-no-auto-link-packages</option></entry>
604               <entry>Don't automatically link in the haskell98 package.</entry>
605               <entry>dynamic</entry>
606               <entry>-</entry>
607             </row>
608           </tbody>
609         </tgroup>
610       </informaltable>
611     </sect2>
612
613     <sect2>
614       <title>Language options</title>
615
616       <para>Language options can be enabled either by a command-line option 
617       <option>-Xblah</option>, or by a <literal>{-# LANGUAGE blah #-}</literal>
618       pragma in the file itself.  See <xref linkend="options-language"/></para>
619
620       <informaltable>
621         <tgroup cols="4" align="left" colsep="1" rowsep="1">
622           <thead>
623             <row>
624               <entry>Flag</entry>
625               <entry>Description</entry>
626               <entry>Static/Dynamic</entry>
627               <entry>Reverse</entry>
628             </row>
629           </thead>
630           <tbody>
631             <row>
632               <entry><option>-fglasgow-exts</option></entry>
633               <entry>Enable most language extensions</entry>
634               <entry>dynamic</entry>
635               <entry><option>-fno-glasgow-exts</option></entry>
636             </row>
637             <row>
638               <entry><option>-XOverlappingInstances</option></entry>
639               <entry>Enable <link linkend="instance-overlap">overlapping instances</link></entry>
640               <entry>dynamic</entry>
641               <entry><option>-XNoOverlappingInstances</option></entry>
642             </row>
643             <row>
644               <entry><option>-XIncoherentInstances</option></entry>
645               <entry>Enable <link linkend="instance-overlap">incoherent instances</link>.  
646               Implies <option>-XOverlappingInstances</option> </entry>
647               <entry>dynamic</entry>
648               <entry><option>-XNoIncoherentInstances</option></entry>
649             </row>
650             <row>
651               <entry><option>-XUndecidableInstances</option></entry>
652               <entry>Enable <link linkend="undecidable-instances">undecidable instances</link></entry>
653               <entry>dynamic</entry>
654               <entry><option>-XNoUndecidableInstances</option></entry>
655             </row>
656             <row>
657               <entry><option>-fcontext-stack=N</option><replaceable>n</replaceable></entry>
658               <entry>set the <link linkend="undecidable-instances">limit for context reduction</link>. Default is 20.</entry>
659               <entry>dynamic</entry>
660               <entry></entry>
661             </row>
662             <row>
663               <entry><option>-XArrows</option></entry>
664               <entry>Enable <link linkend="arrow-notation">arrow
665               notation</link> extension</entry>
666               <entry>dynamic</entry>
667               <entry><option>-XNoArrows</option></entry>
668             </row>
669             <row>
670               <entry><option>-XDisambiguateRecordFields</option></entry>
671               <entry>Enable <link linkend="disambiguate-fields">record 
672               field disambiguation</link></entry>
673               <entry>dynamic</entry>
674               <entry><option>-XNoDisambiguateRecordFields</option></entry>
675             </row>
676             <row>
677               <entry><option>-XForeignFunctionInterface</option></entry>
678               <entry>Enable <link linkend="ffi">foreign function interface</link> (implied by
679               <option>-fglasgow-exts</option>)</entry>
680               <entry>dynamic</entry>
681               <entry><option>-XNoForeignFunctionInterface</option></entry>
682             </row>
683             <row>
684               <entry><option>-XGenerics</option></entry>
685               <entry>Deprecated, does nothing. No longer enables <link linkend="generic-classes">generic classes</link>.
686                See also GHC's support for
687                <link linkend="generic-programming">generic programming</link>.</entry>
688               <entry>dynamic</entry>
689               <entry><option>-XNoGenerics</option></entry>
690             </row>
691             <row>
692               <entry><option>-XImplicitParams</option></entry>
693               <entry>Enable <link linkend="implicit-parameters">Implicit Parameters</link>.
694               Implied by <option>-fglasgow-exts</option>.</entry>
695               <entry>dynamic</entry>
696               <entry><option>-XNoImplicitParams</option></entry>
697             </row>
698             <row>
699               <entry><option>-firrefutable-tuples</option></entry>
700               <entry>Make tuple pattern matching irrefutable</entry>
701               <entry>dynamic</entry>
702               <entry><option>-fno-irrefutable-tuples</option></entry>
703             </row>
704             <row>
705               <entry><option>-XNoImplicitPrelude</option></entry>
706               <entry>Don't implicitly <literal>import Prelude</literal></entry>
707               <entry>dynamic</entry>
708               <entry><option>-XImplicitPrelude</option></entry>
709             </row>
710             <row>
711               <entry><option>-XRebindableSyntax</option></entry>
712               <entry>Employ <link linkend="rebindable-syntax">rebindable syntax</link></entry>
713               <entry>dynamic</entry>
714               <entry><option>-XNoRebindableSyntax</option></entry>
715             </row>
716             <row>
717               <entry><option>-XNoMonomorphismRestriction</option></entry>
718               <entry>Disable the <link linkend="monomorphism">monomorphism restriction</link></entry>
719               <entry>dynamic</entry>
720               <entry><option>-XMonomorphismRrestriction</option></entry>
721             </row>
722             <row>
723               <entry><option>-XNoNPlusKPatterns</option></entry>
724               <entry>Disable support for <literal>n+k</literal> patterns</entry>
725               <entry>dynamic</entry>
726               <entry><option>-XNPlusKPatterns</option></entry>
727             </row>
728             <row>
729               <entry><option>-XNoMonoPatBinds</option></entry>
730               <entry>Make <link linkend="monomorphism">pattern bindings polymorphic</link></entry>
731               <entry>dynamic</entry>
732               <entry><option>-XMonoPatBinds</option></entry>
733             </row>
734             <row>
735               <entry><option>-XRelaxedPolyRec</option></entry>
736               <entry>Relaxed checking for <link linkend="typing-binds">mutually-recursive polymorphic functions</link></entry>
737               <entry>dynamic</entry>
738               <entry><option>-XNoRelaxedPolyRec</option></entry>
739             </row>
740             <row>
741               <entry><option>-XExtendedDefaultRules</option></entry>
742               <entry>Use GHCi's <link linkend="extended-default-rules">extended default rules</link> in a normal module</entry>
743               <entry>dynamic</entry>
744               <entry><option>-XNoExtendedDefaultRules</option></entry>
745             </row>
746             <row>
747               <entry><option>-XOverloadedStrings</option></entry>
748               <entry>Enable <link linkend="overloaded-strings">overloaded string literals</link>.
749               </entry>
750               <entry>dynamic</entry>
751               <entry><option>-XNoOverloadedStrings</option></entry>
752             </row>
753             <row>
754               <entry><option>-XGADTs</option></entry>
755               <entry>Enable <link linkend="gadt">generalised algebraic data types</link>.
756               </entry>
757               <entry>dynamic</entry>
758               <entry><option>-XNoGADTs</option></entry>
759             </row>
760             <row>
761               <entry><option>-XGADTSyntax</option></entry>
762               <entry>Enable <link linkend="gadt-style">generalised algebraic data type syntax</link>.
763               </entry>
764               <entry>dynamic</entry>
765               <entry><option>-XNoGADTSyntax</option></entry>
766             </row>
767             <row>
768               <entry><option>-XTypeFamilies</option></entry>
769               <entry>Enable <link linkend="type-families">type families</link>.</entry>
770               <entry>dynamic</entry>
771               <entry><option>-XNoTypeFamilies</option></entry>
772             </row>
773             <row>
774               <entry><option>-XScopedTypeVariables</option></entry>
775               <entry>Enable <link linkend="scoped-type-variables">lexically-scoped type variables</link>.
776               Implied by <option>-fglasgow-exts</option>.</entry>
777               <entry>dynamic</entry>
778               <entry><option>-XNoScopedTypeVariables</option></entry>
779             </row>
780             <row>
781               <entry><option>-XMonoLocalBinds</option></entry>
782               <entry>Enable <link linkend="mono-local-binds">do not generalise local bindings</link>.
783               </entry>
784               <entry>dynamic</entry>
785               <entry><option>-XNoMonoLocalBinds</option></entry>
786             </row>
787             <row>
788               <entry><option>-XTemplateHaskell</option></entry>
789               <entry>Enable <link linkend="template-haskell">Template Haskell</link>. 
790                 No longer implied by <option>-fglasgow-exts</option>.</entry>
791               <entry>dynamic</entry>
792               <entry><option>-XNoTemplateHaskell</option></entry>
793             </row>
794             <row>
795               <entry><option>-XQuasiQuotes</option></entry>
796               <entry>Enable <link linkend="th-quasiquotation">quasiquotation</link>.</entry>
797               <entry>dynamic</entry>
798               <entry><option>-XNoQuasiQuotes</option></entry>
799             </row>
800             <row>
801               <entry><option>-XBangPatterns</option></entry>
802               <entry>Enable <link linkend="bang-patterns">bang patterns</link>.</entry>
803               <entry>dynamic</entry>
804               <entry><option>-XNoBangPatterns</option></entry>
805             </row>
806             <row>
807               <entry><option>-XCPP</option></entry>
808               <entry>Enable the <link linkend="c-pre-processor">C preprocessor</link>.</entry>
809               <entry>dynamic</entry>
810               <entry><option>-XNoCPP</option></entry>
811             </row>
812             <row>
813               <entry><option>-XPatternGuards</option></entry>
814               <entry>Enable <link linkend="pattern-guards">pattern guards</link>.</entry>
815               <entry>dynamic</entry>
816               <entry><option>-XNoPatternGuards</option></entry>
817             </row>
818             <row>
819               <entry><option>-XViewPatterns</option></entry>
820               <entry>Enable <link linkend="view-patterns">view patterns</link>.</entry>
821               <entry>dynamic</entry>
822               <entry><option>-XNoViewPatterns</option></entry>
823             </row>
824             <row>
825               <entry><option>-XUnicodeSyntax</option></entry>
826               <entry>Enable <link linkend="unicode-syntax">unicode syntax</link>.</entry>
827               <entry>dynamic</entry>
828               <entry><option>-XNoUnicodeSyntax</option></entry>
829             </row>
830             <row>
831               <entry><option>-XMagicHash</option></entry>
832               <entry>Allow "#" as a <link linkend="magic-hash">postfix modifier on identifiers</link>.</entry>
833               <entry>dynamic</entry>
834               <entry><option>-XNoMagicHash</option></entry>
835             </row>
836             <row>
837               <entry><option>-XExplicitForALl</option></entry>
838               <entry>Enable <link linkend="explicit-foralls">explicit universal quantification</link>.
839               Implied by <option>-XScopedTypeVariables</option>,
840             <option>-XLiberalTypeSynonyms</option>,
841             <option>-XRank2Types</option>,
842             <option>-XRankNTypes</option>,
843             <option>-XPolymorphicComponents</option>,
844             <option>-XExistentialQuantification</option>
845               </entry>
846               <entry>dynamic</entry>
847               <entry><option>-XNoExplicitForAll</option></entry>
848             </row>
849             <row>
850               <entry><option>-XPolymorphicComponents</option></entry>
851               <entry>Enable <link linkend="universal-quantification">polymorphic components for data constructors</link>.</entry>
852               <entry>dynamic</entry>
853               <entry><option>-XNoPolymorphicComponents</option></entry>
854             </row>
855             <row>
856               <entry><option>-XRank2Types</option></entry>
857               <entry>Enable <link linkend="universal-quantification">rank-2 types</link>.</entry>
858               <entry>dynamic</entry>
859               <entry><option>-XNoRank2Types</option></entry>
860             </row>
861             <row>
862               <entry><option>-XRankNTypes</option></entry>
863               <entry>Enable <link linkend="universal-quantification">rank-N types</link>.</entry>
864               <entry>dynamic</entry>
865               <entry><option>-XNoRankNTypes</option></entry>
866             </row>
867             <row>
868               <entry><option>-XImpredicativeTypes</option></entry>
869               <entry>Enable <link linkend="impredicative-polymorphism">impredicative types</link>.</entry>
870               <entry>dynamic</entry>
871               <entry><option>-XNoImpredicativeTypes</option></entry>
872             </row>
873             <row>
874               <entry><option>-XExistentialQuantification</option></entry>
875               <entry>Enable <link linkend="existential-quantification">existential quantification</link>.</entry>
876               <entry>dynamic</entry>
877               <entry><option>-XNoExistentialQuantification</option></entry>
878             </row>
879             <row>
880               <entry><option>-XKindSignatures</option></entry>
881               <entry>Enable <link linkend="kinding">kind signatures</link>.</entry>
882               <entry>dynamic</entry>
883               <entry><option>-XNoKindSignatures</option></entry>
884             </row>
885             <row>
886               <entry><option>-XEmptyDataDecls</option></entry>
887               <entry>Enable empty data declarations.</entry>
888               <entry>dynamic</entry>
889               <entry><option>-XNoEmptyDataDecls</option></entry>
890             </row>
891             <row>
892               <entry><option>-XParallelListComp</option></entry>
893               <entry>Enable <link linkend="parallel-list-comprehensions">parallel list comprehensions</link>.</entry>
894               <entry>dynamic</entry>
895               <entry><option>-XNoParallelListComp</option></entry>
896             </row>
897             <row>
898               <entry><option>-XTransformListComp</option></entry>
899               <entry>Enable <link linkend="generalised-list-comprehensions">generalised list comprehensions</link>.</entry>
900               <entry>dynamic</entry>
901               <entry><option>-XNoTransformListComp</option></entry>
902             </row>
903         <row>
904               <entry><option>-XMonadComprehensions</option></entry>
905               <entry>Enable <link linkend="monad-comprehensions">monad comprehensions</link>.</entry>
906               <entry>dynamic</entry>
907               <entry><option>-XNoMonadComprehensions</option></entry>
908             </row>
909             <row>
910               <entry><option>-XUnliftedFFITypes</option></entry>
911               <entry>Enable unlifted FFI types.</entry>
912               <entry>dynamic</entry>
913               <entry><option>-XNoUnliftedFFITypes</option></entry>
914             </row>
915             <row>
916               <entry><option>-XLiberalTypeSynonyms</option></entry>
917               <entry>Enable <link linkend="type-synonyms">liberalised type synonyms</link>.</entry>
918               <entry>dynamic</entry>
919               <entry><option>-XNoLiberalTypeSynonyms</option></entry>
920             </row>
921             <row>
922               <entry><option>-XTypeOperators</option></entry>
923               <entry>Enable type operators.</entry>
924               <entry>dynamic</entry>
925               <entry><option>-XNoTypeOperators</option></entry>
926             </row>
927             <row>
928               <entry><option>-XDoRec</option></entry>
929               <entry>Enable <link linkend="recursive-do-notation">recursive do notation</link>.</entry>
930               <entry>dynamic</entry>
931               <entry><option>-XNoDoRec</option></entry>
932             </row>
933             <row>
934               <entry><option>-XRecursiveDo</option></entry>
935               <entry>Enable <link linkend="mdo-notation">recursive do (mdo) notation</link>. This is deprecated; please use <link linkend="recursive-do-notation">recursive do notation</link> instead.</entry>
936               <entry>dynamic</entry>
937               <entry><option>-XNoRecursiveDo</option></entry>
938             </row>
939             <row>
940               <entry><option>-XPArr</option></entry>
941               <entry>Enable parallel arrays.</entry>
942               <entry>dynamic</entry>
943               <entry><option>-XNoPArr</option></entry>
944             </row>
945             <row>
946               <entry><option>-XRecordWildCards</option></entry>
947               <entry>Enable <link linkend="record-wildcards">record wildcards</link>.</entry>
948               <entry>dynamic</entry>
949               <entry><option>-XNoRecordWildCards</option></entry>
950             </row>
951             <row>
952               <entry><option>-XNamedFieldPuns</option></entry>
953               <entry>Enable <link linkend="record-puns">record puns</link>.</entry>
954               <entry>dynamic</entry>
955               <entry><option>-XNoNamedFieldPuns</option></entry>
956             </row>
957             <row>
958               <entry><option>-XDisambiguateRecordFields</option></entry>
959               <entry>Enable  <link linkend="disambiguate-fields">record field disambiguation</link>. </entry>
960               <entry>dynamic</entry>
961               <entry><option>-XNoDisambiguateRecordFields</option></entry>
962             </row>
963             <row>
964               <entry><option>-XUnboxedTuples</option></entry>
965               <entry>Enable <link linkend="unboxed-tuples">unboxed tuples</link>.</entry>
966               <entry>dynamic</entry>
967               <entry><option>-XNoUnboxedTuples</option></entry>
968             </row>
969             <row>
970               <entry><option>-XStandaloneDeriving</option></entry>
971               <entry>Enable <link linkend="stand-alone-deriving">standalone deriving</link>.</entry>
972               <entry>dynamic</entry>
973               <entry><option>-XNoStandaloneDeriving</option></entry>
974             </row>
975             <row>
976               <entry><option>-XDeriveDataTypeable</option></entry>
977               <entry>Enable <link linkend="deriving-typeable">deriving for the Data and Typeable classes</link>.</entry>
978               <entry>dynamic</entry>
979               <entry><option>-XNoDeriveDataTypeable</option></entry>
980             </row>
981             <row>
982               <entry><option>-XDeriveGeneric</option></entry>
983               <entry>Enable <link linkend="deriving-typeable">deriving for the Generic class</link>.</entry>
984               <entry>dynamic</entry>
985               <entry><option>-XNoDeriveGeneric</option></entry>
986             </row>
987             <row>
988               <entry><option>-XGeneralizedNewtypeDeriving</option></entry>
989               <entry>Enable <link linkend="newtype-deriving">newtype deriving</link>.</entry>
990               <entry>dynamic</entry>
991               <entry><option>-XNoGeneralizedNewtypeDeriving</option></entry>
992             </row>
993             <row>
994               <entry><option>-XTypeSynonymInstances</option></entry>
995               <entry>Enable <link linkend="flexible-instance-head">type synonyms in instance heads</link>.</entry>
996               <entry>dynamic</entry>
997               <entry><option>-XNoTypeSynonymInstances</option></entry>
998             </row>
999             <row>
1000               <entry><option>-XFlexibleContexts</option></entry>
1001               <entry>Enable <link linkend="flexible-contexts">flexible contexts</link>.</entry>
1002               <entry>dynamic</entry>
1003               <entry><option>-XNoFlexibleContexts</option></entry>
1004             </row>
1005             <row>
1006               <entry><option>-XFlexibleInstances</option></entry>
1007               <entry>Enable <link linkend="instance-rules">flexible instances</link>.
1008               Implies <option>-XTypeSynonymInstances</option> </entry>
1009               <entry>dynamic</entry>
1010               <entry><option>-XNoFlexibleInstances</option></entry>
1011             </row>
1012             <row>
1013               <entry><option>-XConstrainedClassMethods</option></entry>
1014               <entry>Enable <link linkend="class-method-types">constrained class methods</link>.</entry>
1015               <entry>dynamic</entry>
1016               <entry><option>-XNoConstrainedClassMethods</option></entry>
1017             </row>
1018             <row>
1019               <entry><option>-XDefaultSignatures</option></entry>
1020               <entry>Enable <link linkend="class-default-signatures">default signatures</link>.</entry>
1021               <entry>dynamic</entry>
1022               <entry><option>-XNoDefaultSignatures</option></entry>
1023             </row>
1024             <row>
1025               <entry><option>-XMultiParamTypeClasses</option></entry>
1026               <entry>Enable <link linkend="multi-param-type-classes">multi parameter type classes</link>.</entry>
1027               <entry>dynamic</entry>
1028               <entry><option>-XNoMultiParamTypeClasses</option></entry>
1029             </row>
1030             <row>
1031               <entry><option>-XFunctionalDependencies</option></entry>
1032               <entry>Enable <link linkend="functional-dependencies">functional dependencies</link>.</entry>
1033               <entry>dynamic</entry>
1034               <entry><option>-XNoFunctionalDependencies</option></entry>
1035             </row>
1036             <row>
1037               <entry><option>-XPackageImports</option></entry>
1038               <entry>Enable <link linkend="package-imports">package-qualified imports</link>.</entry>
1039               <entry>dynamic</entry>
1040               <entry><option>-XNoPackageImports</option></entry>
1041             </row>
1042           </tbody>
1043         </tgroup>
1044       </informaltable>
1045     </sect2>
1046
1047     <sect2>
1048       <title>Warnings</title>
1049       
1050       <para><xref linkend="options-sanity"/></para>
1051
1052     <informaltable>
1053       <tgroup cols="4" align="left" colsep="1" rowsep="1">
1054         <thead>
1055           <row>
1056             <entry>Flag</entry>
1057             <entry>Description</entry>
1058             <entry>Static/Dynamic</entry>
1059             <entry>Reverse</entry>
1060           </row>
1061         </thead>
1062         <tbody>
1063           <row>
1064             <entry><option>-W</option></entry>
1065             <entry>enable normal warnings</entry>
1066             <entry>dynamic</entry>
1067             <entry><option>-w</option></entry>
1068           </row>
1069           <row>
1070             <entry><option>-w</option></entry>
1071             <entry>disable all warnings</entry>
1072             <entry>dynamic</entry>
1073             <entry>-</entry>
1074           </row>
1075           <row>
1076             <entry><option>-Wall</option></entry>
1077             <entry>enable almost all warnings (details in <xref linkend="options-sanity"/>)</entry>
1078             <entry>dynamic</entry>
1079             <entry><option>-w</option></entry>
1080           </row>
1081           <row>
1082             <entry><option>-Werror</option></entry>
1083             <entry>make warnings fatal</entry>
1084             <entry>dynamic</entry>
1085             <entry>-Wwarn</entry>
1086           </row>
1087           <row>
1088             <entry><option>-Wwarn</option></entry>
1089             <entry>make warnings non-fatal</entry>
1090             <entry>dynamic</entry>
1091             <entry>-Werror</entry>
1092           </row>
1093
1094           <row>
1095             <entry><option>-fwarn-unrecognised-pragmas</option></entry>
1096             <entry>warn about uses of pragmas that GHC doesn't recognise</entry>
1097             <entry>dynamic</entry>
1098             <entry><option>-fno-warn-unrecognised-pragmas</option></entry>
1099           </row>
1100
1101           <row>
1102             <entry><option>-fwarn-warnings-deprecations</option></entry>
1103             <entry>warn about uses of functions &amp; types that have warnings or deprecated pragmas</entry>
1104             <entry>dynamic</entry>
1105             <entry><option>-fno-warn-warnings-deprecations</option></entry>
1106           </row>
1107
1108           <row>
1109             <entry><option>-fwarn-deprecated-flags</option></entry>
1110             <entry>warn about uses of commandline flags that are deprecated</entry>
1111             <entry>dynamic</entry>
1112             <entry><option>-fno-warn-deprecated-flags</option></entry>
1113           </row>
1114
1115           <row>
1116             <entry><option>-fwarn-duplicate-exports</option></entry>
1117             <entry>warn when an entity is exported multiple times</entry>
1118             <entry>dynamic</entry>
1119             <entry><option>-fno-warn-duplicate-exports</option></entry>
1120           </row>
1121
1122           <row>
1123             <entry><option>-fwarn-hi-shadowing</option></entry>
1124             <entry>warn when a <literal>.hi</literal> file in the
1125             current directory shadows a library</entry>
1126             <entry>dynamic</entry>
1127             <entry><option>-fno-warn-hi-shadowing</option></entry>
1128           </row>
1129
1130           <row>
1131             <entry><option>-fwarn-identities</option></entry>
1132             <entry>warn about uses of Prelude numeric conversions that are probably
1133                    the identity (and hence could be omitted)</entry>
1134             <entry>dynamic</entry>
1135             <entry><option>-fno-warn-identities</option></entry>
1136           </row>
1137
1138           <row>
1139             <entry><option>-fwarn-implicit-prelude</option></entry>
1140             <entry>warn when the Prelude is implicitly imported</entry>
1141             <entry>dynamic</entry>
1142             <entry><option>-fno-warn-implicit-prelude</option></entry>
1143           </row>
1144
1145           <row>
1146             <entry><option>-fwarn-incomplete-patterns</option></entry>
1147             <entry>warn when a pattern match could fail</entry>
1148             <entry>dynamic</entry>
1149             <entry><option>-fno-warn-incomplete-patterns</option></entry>
1150           </row>
1151
1152           <row>
1153             <entry><option>-fwarn-incomplete-uni-patterns</option></entry>
1154             <entry>warn when a pattern match in a lambda expression or pattern binding could fail</entry>
1155             <entry>dynamic</entry>
1156             <entry><option>-fno-warn-incomplete-uni-patterns</option></entry>
1157           </row>
1158
1159           <row>
1160             <entry><option>-fwarn-incomplete-record-updates</option></entry>
1161             <entry>warn when a record update could fail</entry>
1162             <entry>dynamic</entry>
1163             <entry><option>-fno-warn-incomplete-record-updates</option></entry>
1164           </row>
1165
1166           <row>
1167             <entry><option>-fwarn-lazy-unlifted-bindings</option></entry>
1168             <entry>warn when a pattern binding looks lazy but must be strict</entry>
1169             <entry>dynamic</entry>
1170             <entry><option>-fno-warn-lazy-unlifted-bindings</option></entry>
1171           </row>
1172
1173           <row>
1174             <entry><option>-fwarn-missing-fields</option></entry>
1175             <entry>warn when fields of a record are uninitialised</entry>
1176             <entry>dynamic</entry>
1177             <entry><option>-fno-warn-missing-fields</option></entry>
1178           </row>
1179
1180           <row>
1181             <entry><option>-fwarn-missing-import-lists</option></entry>
1182             <entry>warn when an import declaration does not explicitly 
1183                    list all the names brought into scope</entry>
1184             <entry>dynamic</entry>
1185             <entry><option>-fnowarn-missing-import-lists</option></entry>
1186           </row>
1187
1188           <row>
1189             <entry><option>-fwarn-missing-methods</option></entry>
1190             <entry>warn when class methods are undefined</entry>
1191             <entry>dynamic</entry>
1192             <entry><option>-fno-warn-missing-methods</option></entry>
1193           </row>
1194
1195           <row>
1196             <entry><option>-fwarn-missing-signatures</option></entry>
1197             <entry>warn about top-level functions without signatures</entry>
1198             <entry>dynamic</entry>
1199             <entry><option>-fno-warn-missing-signatures</option></entry>
1200           </row>
1201
1202           <row>
1203             <entry><option>-fwarn-missing-local-sigs</option></entry>
1204             <entry>warn about polymorphic local bindings without signatures</entry>
1205             <entry>dynamic</entry>
1206             <entry><option>-fno-warn-missing-local-sigs</option></entry>
1207           </row>
1208
1209           <row>
1210             <entry><option>-fwarn-name-shadowing</option></entry>
1211             <entry>warn when names are shadowed</entry>
1212             <entry>dynamic</entry>
1213             <entry><option>-fno-warn-name-shadowing</option></entry>
1214           </row>
1215
1216           <row>
1217             <entry><option>-fwarn-orphans</option></entry>
1218             <entry>warn when the module contains <link linkend="orphan-modules">orphan instance declarations
1219             or rewrite rules</link></entry>
1220             <entry>dynamic</entry>
1221             <entry><option>-fno-warn-orphans</option></entry>
1222           </row>
1223
1224           <row>
1225             <entry><option>-fwarn-overlapping-patterns</option></entry>
1226             <entry>warn about overlapping patterns</entry>
1227             <entry>dynamic</entry>
1228             <entry><option>-fno-warn-overlapping-patterns</option></entry>
1229           </row>
1230
1231           <row>
1232             <entry><option>-fwarn-tabs</option></entry>
1233             <entry>warn if there are tabs in the source file</entry>
1234             <entry>dynamic</entry>
1235             <entry><option>-fno-warn-tabs</option></entry>
1236           </row>
1237
1238           <row>
1239             <entry><option>-fwarn-type-defaults</option></entry>
1240             <entry>warn when defaulting happens</entry>
1241             <entry>dynamic</entry>
1242             <entry><option>-fno-warn-type-defaults</option></entry>
1243           </row>
1244
1245           <row>
1246             <entry><option>-fwarn-monomorphism-restriction</option></entry>
1247             <entry>warn when the Monomorphism Restriction is applied</entry>
1248             <entry>dynamic</entry>
1249             <entry><option>-fno-warn-monomorphism-restriction</option></entry>
1250           </row>
1251
1252           <row>
1253             <entry><option>-fwarn-unused-binds</option></entry>
1254             <entry>warn about bindings that are unused</entry>
1255             <entry>dynamic</entry>
1256             <entry><option>-fno-warn-unused-binds</option></entry>
1257           </row>
1258
1259           <row>
1260             <entry><option>-fwarn-unused-imports</option></entry>
1261             <entry>warn about unnecessary imports</entry>
1262             <entry>dynamic</entry>
1263             <entry><option>-fno-warn-unused-imports</option></entry>
1264           </row>
1265
1266           <row>
1267             <entry><option>-fwarn-unused-matches</option></entry>
1268             <entry>warn about variables in patterns that aren't used</entry>
1269             <entry>dynamic</entry>
1270             <entry><option>-fno-warn-unused-matches</option></entry>
1271           </row>
1272
1273           <row>
1274             <entry><option>-fwarn-unused-do-bind</option></entry>
1275             <entry>warn about do bindings that appear to throw away values of types other than <literal>()</literal></entry>
1276             <entry>dynamic</entry>
1277             <entry><option>-fno-warn-unused-do-bind</option></entry>
1278           </row>
1279
1280           <row>
1281             <entry><option>-fwarn-wrong-do-bind</option></entry>
1282             <entry>warn about do bindings that appear to throw away monadic values that you should have bound instead</entry>
1283             <entry>dynamic</entry>
1284             <entry><option>-fno-warn-wrong-do-bind</option></entry>
1285           </row>
1286
1287           </tbody>
1288         </tgroup>
1289       </informaltable>
1290
1291     </sect2>
1292     <sect2>
1293       <title>Optimisation levels</title>
1294
1295       <para><xref linkend="options-optimise"/></para>
1296
1297       <informaltable>
1298         <tgroup cols="4" align="left" colsep="1" rowsep="1">
1299           <thead>
1300             <row>
1301               <entry>Flag</entry>
1302               <entry>Description</entry>
1303               <entry>Static/Dynamic</entry>
1304               <entry>Reverse</entry>
1305             </row>
1306           </thead>
1307           <tbody>
1308             <row>
1309               <entry><option>-O</option></entry>
1310               <entry>Enable default optimisation (level 1)</entry>
1311               <entry>dynamic</entry>
1312               <entry><option>-O0</option></entry>
1313             </row>
1314             <row>
1315               <entry><option>-O</option><replaceable>n</replaceable></entry>
1316               <entry>Set optimisation level <replaceable>n</replaceable></entry>
1317               <entry>dynamic</entry>
1318               <entry><option>-O0</option></entry>
1319             </row>
1320           </tbody>
1321         </tgroup>
1322       </informaltable>
1323               
1324     </sect2>
1325     <sect2>
1326       <title>Individual optimisations</title>
1327
1328       <para><xref linkend="options-f"/></para>
1329
1330       <informaltable>
1331         <tgroup cols="4" align="left" colsep="1" rowsep="1">
1332           <thead>
1333             <row>
1334               <entry>Flag</entry>
1335               <entry>Description</entry>
1336               <entry>Static/Dynamic</entry>
1337               <entry>Reverse</entry>
1338             </row>
1339           </thead>
1340           <tbody>
1341             <row>
1342               <entry><option>-fcase-merge</option></entry>
1343               <entry>Enable case-merging. Implied by <option>-O</option>.</entry>
1344               <entry>dynamic</entry>
1345               <entry><option>-fno-case-merge</option></entry>
1346             </row>
1347
1348             <row>
1349               <entry><option>-fdicts-strict</option></entry>
1350               <entry>Make dictionaries strict</entry>
1351               <entry>static</entry>
1352               <entry><option>-fno-dicts-strict</option></entry>
1353             </row>
1354
1355             <row>
1356               <entry><option>-fmethod-sharing</option></entry>
1357               <entry>Share specialisations of overloaded functions (default)</entry>
1358               <entry>dynamic</entry>
1359               <entry><option>-fno-method-sharing</option></entry>
1360             </row>
1361
1362             <row>
1363               <entry><option>-fdo-eta-reduction</option></entry>
1364               <entry>Enable eta-reduction. Implied by <option>-O</option>.</entry>
1365               <entry>dynamic</entry>
1366               <entry><option>-fno-do-eta-reduction</option></entry>
1367             </row>
1368
1369             <row>
1370               <entry><option>-fdo-lambda-eta-expansion</option></entry>
1371               <entry>Enable lambda eta-reduction</entry>
1372               <entry>dynamic</entry>
1373               <entry><option>-fno-do-lambda-eta-expansion</option></entry>
1374             </row>
1375
1376             <row>
1377               <entry><option>-fexcess-precision</option></entry>
1378               <entry>Enable excess intermediate precision</entry>
1379               <entry>dynamic</entry>
1380               <entry><option>-fno-excess-precision</option></entry>
1381             </row>
1382
1383             <row>
1384               <entry><option>-fignore-asserts</option></entry>
1385               <entry>Ignore assertions in the source</entry>
1386               <entry>dynamic</entry>
1387               <entry><option>-fno-ignore-asserts</option></entry>
1388             </row>
1389
1390             <row>
1391               <entry><option>-fignore-interface-pragmas</option></entry>
1392               <entry>Ignore pragmas in interface files</entry>
1393               <entry>dynamic</entry>
1394               <entry><option>-fno-ignore-interface-pragmas</option></entry>
1395             </row>
1396
1397             <row>
1398               <entry><option>-fomit-interface-pragmas</option></entry>
1399               <entry>Don't generate interface pragmas</entry>
1400               <entry>dynamic</entry>
1401               <entry><option>-fno-omit-interface-pragmas</option></entry>
1402             </row>
1403
1404             <row>
1405               <entry><option>-fmax-worker-args</option></entry>
1406               <entry>If a worker has that many arguments, none will be
1407                 unpacked anymore (default: 10)</entry>
1408               <entry>static</entry>
1409               <entry>-</entry>
1410             </row>
1411
1412             <row>
1413               <entry><option>-fsimplifier-phases</option></entry>
1414               <entry>Set the number of phases for the simplifier (default 2).
1415               Ignored with <option>-O0</option>.</entry>
1416               <entry>dynamic</entry>
1417               <entry>-</entry>
1418             </row>
1419
1420             <row>
1421               <entry><option>-fmax-simplifier-iterations</option></entry>
1422               <entry>Set the max iterations for the simplifier</entry>
1423               <entry>dynamic</entry>
1424               <entry>-</entry>
1425             </row>
1426
1427             <row>
1428               <entry><option>-fno-state-hack</option></entry>
1429               <entry>Turn off the "state hack" whereby any lambda with a real-world state token
1430               as argument is considered to be single-entry.  Hence OK to inline things inside it.</entry>
1431               <entry>static</entry>
1432               <entry>-</entry>
1433             </row>
1434
1435             <row>
1436               <entry><option>-fcse</option></entry>
1437               <entry>Turn on common sub-expression elimination. Implied by <option>-O</option>.</entry>
1438               <entry>dynamic</entry>
1439               <entry>-fno-cse</entry>
1440             </row>
1441
1442             <row>
1443               <entry><option>-fspecialise</option></entry>
1444               <entry>Turn on specialisation of overloaded functions. Implied by <option>-O</option>.</entry>
1445               <entry>dynamic</entry>
1446               <entry>-fno-specialise</entry>
1447             </row>
1448
1449             <row>
1450               <entry><option>-ffull-laziness</option></entry>
1451               <entry>Turn on full laziness (floating bindings outwards). Implied by <option>-O</option>.</entry>
1452               <entry>dynamic</entry>
1453               <entry>-fno-full-laziness</entry>
1454             </row>
1455
1456             <row>
1457               <entry><option>-ffloat-in</option></entry>
1458               <entry>Turn on the float-in transformation. Implied by <option>-O</option>.</entry>
1459               <entry>dynamic</entry>
1460               <entry>-fno-float-in</entry>
1461             </row>
1462
1463             <row>
1464               <entry><option>-fenable-rewrite-rules</option></entry>
1465               <entry>Switch on all rewrite rules (including rules
1466               generated by automatic specialisation of overloaded functions).
1467               Implied by <option>-O</option>. </entry>
1468               <entry>dynamic</entry>
1469               <entry><option>-fno-enable-rewrite-rules</option></entry>
1470             </row>
1471
1472             <row>
1473               <entry><option>-fstrictness</option></entry>
1474               <entry>Turn on strictness analysis. Implied by <option>-O</option>.</entry>
1475               <entry>dynamic</entry>
1476               <entry>-fno-strictness</entry>
1477             </row>
1478
1479             <row>
1480               <entry><option>-fstrictness=before</option>=<replaceable>n</replaceable></entry>
1481               <entry>Run an additional strictness analysis before simplifier
1482 phase <replaceable>n</replaceable></entry>
1483               <entry>dynamic</entry>
1484               <entry>-</entry>
1485             </row>
1486
1487             <row>
1488               <entry><option>-fspec-constr</option></entry>
1489               <entry>Turn on the SpecConstr transformation. Implied by <option>-O2</option>.</entry>
1490               <entry>dynamic</entry>
1491               <entry>-fno-spec-constr</entry>
1492             </row>
1493
1494             <row>
1495               <entry><option>-fspec-constr-threshold</option>=<replaceable>n</replaceable></entry>
1496               <entry>Set the size threshold for the SpecConstr transformation to <replaceable>n</replaceable> (default: 200)</entry>
1497               <entry>static</entry>
1498               <entry><option>-fno-spec-constr-threshold</option></entry>
1499             </row>
1500
1501             <row>
1502               <entry><option>-fspec-constr-count</option>=<replaceable>n</replaceable></entry>
1503               <entry>Set to <replaceable>n</replaceable> (default: 3) the maximum number of 
1504                 specialisations that will be created for any one function
1505                 by the SpecConstr transformation</entry>
1506               <entry>static</entry>
1507               <entry><option>-fno-spec-constr-count</option></entry>
1508             </row>
1509
1510             <row>
1511               <entry><option>-fliberate-case</option></entry>
1512               <entry>Turn on the liberate-case transformation. Implied by <option>-O2</option>.</entry>
1513               <entry>dynamic</entry>
1514               <entry>-fno-liberate-case</entry>
1515             </row>
1516
1517             <row>
1518               <entry><option>-fstatic-argument-transformation</option></entry>
1519               <entry>Turn on the static argument transformation. Implied by <option>-O2</option>.</entry>
1520               <entry>dynamic</entry>
1521               <entry>-fno-static-argument-transformation</entry>
1522             </row>
1523
1524             <row>
1525               <entry><option>-fliberate-case-threshold</option>=<replaceable>n</replaceable></entry>
1526               <entry>Set the size threshold for the liberate-case transformation to <replaceable>n</replaceable> (default: 200)</entry>
1527               <entry>static</entry>
1528               <entry><option>-fno-liberate-case-threshold</option></entry>
1529             </row>
1530
1531             <row>
1532               <entry><option>-funbox-strict-fields</option></entry>
1533               <entry>Flatten strict constructor fields</entry>
1534               <entry>dynamic</entry>
1535               <entry><option>-fno-unbox-strict-fields</option></entry>
1536             </row>
1537
1538             <row>
1539               <entry><option>-funfolding-creation-threshold</option></entry>
1540               <entry>Tweak unfolding settings</entry>
1541               <entry>static</entry>
1542               <entry><option>-fno-unfolding-creation-threshold</option></entry>
1543             </row>
1544
1545             <row>
1546               <entry><option>-funfolding-fun-discount</option></entry>
1547               <entry>Tweak unfolding settings</entry>
1548               <entry>static</entry>
1549               <entry><option>-fno-unfolding-fun-discount</option></entry>
1550             </row>
1551
1552             <row>
1553               <entry><option>-funfolding-keeness-factor</option></entry>
1554               <entry>Tweak unfolding settings</entry>
1555               <entry>static</entry>
1556               <entry><option>-fno-unfolding-keeness-factor</option></entry>
1557             </row>
1558
1559             <row>
1560               <entry><option>-funfolding-use-threshold</option></entry>
1561               <entry>Tweak unfolding settings</entry>
1562               <entry>static</entry>
1563               <entry><option>-fno-unfolding-use-threshold</option></entry>
1564             </row>
1565
1566             <row>
1567               <entry><option>-fno-pre-inlining</option></entry>
1568               <entry>Turn off pre-inlining</entry>
1569               <entry>static</entry>
1570               <entry>-</entry>
1571             </row>
1572
1573             <row>
1574               <entry><option>-fno-opt-coercion</option></entry>
1575               <entry>Turn off the coercion optimiser</entry>
1576               <entry>static</entry>
1577               <entry>-</entry>
1578             </row>
1579
1580             <row>
1581               <entry><option>-feager-blackholing</option></entry>
1582               <entry>Turn on <link linkend="parallel-compile-options">eager blackholing</link></entry>
1583               <entry>dynamic</entry>
1584               <entry>-</entry>
1585             </row>
1586           </tbody>
1587         </tgroup>
1588       </informaltable>
1589     </sect2>
1590
1591     <sect2>
1592       <title>Profiling options</title>
1593       
1594       <para><xref linkend="profiling"/></para>
1595
1596       <informaltable>
1597         <tgroup cols="4" align="left" colsep="1" rowsep="1">
1598           <thead>
1599             <row>
1600               <entry>Flag</entry>
1601               <entry>Description</entry>
1602               <entry>Static/Dynamic</entry>
1603               <entry>Reverse</entry>
1604             </row>
1605           </thead>
1606           <tbody>
1607             <row>
1608               <entry><option>-auto</option></entry>
1609               <entry>Auto-add <literal>_scc_</literal>s to all
1610               exported functions not marked INLINE</entry>
1611               <entry>dynamic</entry>
1612               <entry><option>-no-auto</option></entry>
1613             </row>
1614             <row>
1615               <entry><option>-auto-all</option></entry>
1616               <entry>Auto-add <literal>_scc_</literal>s to all
1617               top-level functions not marked INLINE</entry>
1618               <entry>dynamic</entry>
1619               <entry><option>-no-auto-all</option></entry>
1620             </row>
1621             <row>
1622               <entry><option>-caf-all</option></entry>
1623               <entry>Auto-add <literal>_scc_</literal>s to all CAFs</entry>
1624               <entry>dynamic</entry>
1625               <entry><option>-no-caf-all</option></entry>
1626             </row>
1627             <row>
1628               <entry><option>-prof</option></entry>
1629               <entry>Turn on profiling</entry>
1630               <entry>static</entry>
1631               <entry>-</entry>
1632             </row>
1633             <row>
1634               <entry><option>-ticky</option></entry>
1635               <entry><link linkend="ticky-ticky">Turn on ticky-ticky profiling</link></entry>
1636               <entry>static</entry>
1637               <entry>-</entry>
1638             </row>
1639           </tbody>
1640         </tgroup>
1641       </informaltable>
1642     </sect2>
1643
1644     <sect2>
1645       <title>Program coverage options</title>
1646       
1647       <para><xref linkend="hpc"/></para>
1648
1649       <informaltable>
1650         <tgroup cols="4" align="left" colsep="1" rowsep="1">
1651           <thead>
1652             <row>
1653               <entry>Flag</entry>
1654               <entry>Description</entry>
1655               <entry>Static/Dynamic</entry>
1656               <entry>Reverse</entry>
1657             </row>
1658           </thead>
1659           <tbody>
1660             <row>
1661               <entry><option>-fhpc</option></entry>
1662               <entry>Turn on Haskell program coverage instrumentation</entry>
1663               <entry>static</entry>
1664               <entry><option>-</option></entry>
1665             </row>
1666             <row>
1667               <entry><option>-hpcdir dir</option></entry>
1668               <entry>Directory to deposit .mix files during compilation (default is .hpc)</entry>
1669               <entry>dynamic</entry>
1670               <entry><option>-</option></entry>
1671             </row>
1672           </tbody>
1673         </tgroup>
1674       </informaltable>
1675     </sect2>
1676
1677     <sect2>
1678       <title>Haskell pre-processor options</title>
1679
1680       <para><xref linkend="pre-processor"/></para>
1681
1682       <informaltable>
1683         <tgroup cols="4" align="left" colsep="1" rowsep="1">
1684           <thead>
1685             <row>
1686               <entry>Flag</entry>
1687               <entry>Description</entry>
1688               <entry>Static/Dynamic</entry>
1689               <entry>Reverse</entry>
1690             </row>
1691           </thead>
1692           <tbody>
1693             <row>
1694               <entry><option>-F</option></entry>
1695               <entry>
1696                   Enable the use of a pre-processor
1697                   (set with <option>-pgmF</option>)
1698               </entry>
1699               <entry>dynamic</entry>
1700               <entry>-</entry>
1701             </row>
1702           </tbody>
1703         </tgroup>
1704       </informaltable>
1705     </sect2>
1706
1707     <sect2>
1708       <title>C pre-processor options</title>
1709
1710       <para><xref linkend="c-pre-processor"/></para>
1711
1712       <informaltable>
1713         <tgroup cols="4" align="left" colsep="1" rowsep="1">
1714           <thead>
1715             <row>
1716               <entry>Flag</entry>
1717               <entry>Description</entry>
1718               <entry>Static/Dynamic</entry>
1719               <entry>Reverse</entry>
1720             </row>
1721           </thead>
1722           <tbody>
1723             <row>
1724               <entry><option>-cpp</option></entry>
1725               <entry>Run the C pre-processor on Haskell source files</entry>
1726               <entry>dynamic</entry>
1727               <entry>-</entry>
1728             </row>
1729             <row>
1730               <entry><option>-D</option><replaceable>symbol</replaceable><optional>=<replaceable>value</replaceable></optional></entry>
1731               <entry>Define a symbol in the C pre-processor</entry>
1732               <entry>dynamic</entry>
1733               <entry><option>-U</option><replaceable>symbol</replaceable></entry>
1734             </row>
1735             <row>
1736               <entry><option>-U</option><replaceable>symbol</replaceable></entry>
1737               <entry>Undefine a symbol in the C pre-processor</entry>
1738               <entry>dynamic</entry>
1739               <entry>-</entry>
1740             </row>
1741             <row>
1742               <entry><option>-I</option><replaceable>dir</replaceable></entry>
1743               <entry>Add <replaceable>dir</replaceable> to the
1744               directory search list for <literal>#include</literal> files</entry>
1745               <entry>dynamic</entry>
1746               <entry>-</entry>
1747             </row>
1748           </tbody>
1749         </tgroup>
1750       </informaltable>
1751     </sect2>
1752
1753     <sect2>
1754       <title>Code generation options</title>
1755
1756       <para><xref linkend="options-codegen"/></para>
1757
1758       <informaltable>
1759         <tgroup cols="4" align="left" colsep="1" rowsep="1">
1760           <thead>
1761             <row>
1762               <entry>Flag</entry>
1763               <entry>Description</entry>
1764               <entry>Static/Dynamic</entry>
1765               <entry>Reverse</entry>
1766             </row>
1767           </thead>
1768           <tbody>
1769             <row>
1770               <entry><option>-fasm</option></entry>
1771               <entry>Use the native code generator</entry>
1772               <entry>dynamic</entry>
1773               <entry>-fllvm</entry>
1774             </row>
1775             <row>
1776               <entry><option>-fllvm</option></entry>
1777               <entry>Compile via LLVM</entry>
1778               <entry>dynamic</entry>
1779               <entry>-fasm</entry>
1780             </row>
1781             <row>
1782               <entry><option>-fno-code</option></entry>
1783               <entry>Omit code generation</entry>
1784               <entry>dynamic</entry>
1785               <entry>-</entry>
1786             </row>
1787             <row>
1788               <entry><option>-fbyte-code</option></entry>
1789               <entry>Generate byte-code</entry>
1790               <entry>dynamic</entry>
1791               <entry>-</entry>
1792             </row>
1793             <row>
1794               <entry><option>-fobject-code</option></entry>
1795               <entry>Generate object code</entry>
1796               <entry>dynamic</entry>
1797               <entry>-</entry>
1798             </row>
1799           </tbody>
1800         </tgroup>
1801       </informaltable>
1802     </sect2>
1803
1804     <sect2>
1805       <title>Linking options</title>
1806
1807       <para><xref linkend="options-linker"/></para>
1808
1809       <informaltable>
1810         <tgroup cols="4" align="left" colsep="1" rowsep="1">
1811           <thead>
1812             <row>
1813               <entry>Flag</entry>
1814               <entry>Description</entry>
1815               <entry>Static/Dynamic</entry>
1816               <entry>Reverse</entry>
1817             </row>
1818           </thead>
1819           <tbody>
1820             <row>
1821               <entry><option>-shared</option></entry>
1822               <entry>Generate a shared library (as opposed to an executable)</entry>
1823               <entry>dynamic</entry>
1824               <entry>-</entry>
1825             </row>
1826             <row>
1827               <entry><option>-fPIC</option></entry>
1828               <entry>Generate position-independent code (where available)</entry>
1829               <entry>static</entry>
1830               <entry>-</entry>
1831             </row>
1832             <row>
1833               <entry><option>-dynamic</option></entry>
1834               <entry>Use dynamic Haskell libraries (if available)</entry>
1835               <entry>static</entry>
1836               <entry>-</entry>
1837             </row>
1838             <row>
1839               <entry><option>-dynload</option></entry>
1840               <entry>Selects one of a number of modes for finding shared
1841                 libraries at runtime.</entry>
1842               <entry>static</entry>
1843               <entry>-</entry>
1844             </row>
1845             <row>
1846               <entry><option>-framework</option> <replaceable>name</replaceable></entry>
1847               <entry>On Darwin/MacOS X only, link in the framework <replaceable>name</replaceable>.
1848                 This option corresponds to the <option>-framework</option> option for Apple's Linker.</entry>
1849               <entry>dynamic</entry>
1850               <entry>-</entry>
1851             </row>
1852             <row>
1853               <entry><option>-framework-path</option> <replaceable>name</replaceable></entry>
1854               <entry>On Darwin/MacOS X only, add <replaceable>dir</replaceable> to the list of
1855                 directories searched for frameworks.
1856                 This option corresponds to the <option>-F</option> option for Apple's Linker.</entry>
1857               <entry>dynamic</entry>
1858               <entry>-</entry>
1859             </row>
1860             <row>
1861               <entry><option>-l</option><replaceable>lib</replaceable></entry>
1862               <entry>Link in library <replaceable>lib</replaceable></entry>
1863               <entry>dynamic</entry>
1864               <entry>-</entry>
1865             </row>
1866             <row>
1867               <entry><option>-L</option><replaceable>dir</replaceable></entry>
1868               <entry>Add <replaceable>dir</replaceable> to the list of
1869               directories searched for libraries</entry>
1870               <entry>dynamic</entry>
1871               <entry>-</entry>
1872             </row>
1873             <row>
1874               <entry><option>-main-is</option></entry>
1875               <entry>Set main module and function</entry>
1876               <entry>dynamic</entry>
1877               <entry>-</entry>
1878             </row>
1879             <row>
1880               <entry><option>--mk-dll</option></entry>
1881               <entry>DLL-creation mode (Windows only)</entry>
1882               <entry>dynamic</entry>
1883               <entry>-</entry>
1884             </row>
1885             <row>
1886               <entry><option>-no-hs-main</option></entry>
1887               <entry>Don't assume this program contains <literal>main</literal></entry>
1888               <entry>dynamic</entry>
1889               <entry>-</entry>
1890             </row>
1891             <row>
1892               <entry><option>-rtsopts</option>, <option>-rtsopts={none,some,all}</option></entry>
1893               <entry>Control whether the RTS behaviour can be tweaked via command-line
1894           flags and the <literal>GHCRTS</literal> environment
1895           variable. Using <literal>none</literal> means no RTS flags can be given; <literal>some</literal> means only a minimum of safe options can be given (the default), and <literal>all</literal> (or no argument at all) means that all RTS flags are permitted.</entry>
1896               <entry>dynamic</entry>
1897               <entry>-</entry>
1898             </row>
1899             <row>
1900               <entry><option>-with-rtsopts=<replaceable>opts</replaceable></option></entry>
1901               <entry>Set the default RTS options to
1902           <replaceable>opts</replaceable>.</entry>
1903               <entry>dynamic</entry>
1904               <entry>-</entry>
1905             </row>
1906             <row>
1907               <entry><option>-no-link</option></entry>
1908               <entry>Omit linking</entry>
1909               <entry>dynamic</entry>
1910               <entry>-</entry>
1911             </row>
1912             <row>
1913               <entry><option>-split-objs</option></entry>
1914               <entry>Split objects (for libraries)</entry>
1915               <entry>dynamic</entry>
1916               <entry>-</entry>
1917             </row>
1918             <row>
1919               <entry><option>-static</option></entry>
1920               <entry>Use static Haskell libraries</entry>
1921               <entry>static</entry>
1922               <entry>-</entry>
1923             </row>
1924             <row>
1925               <entry><option>-threaded</option></entry>
1926               <entry>Use the threaded runtime</entry>
1927               <entry>static</entry>
1928               <entry>-</entry>
1929             </row>
1930             <row>
1931               <entry><option>-debug</option></entry>
1932               <entry>Use the debugging runtime</entry>
1933               <entry>static</entry>
1934               <entry>-</entry>
1935             </row>
1936             <row>
1937               <entry><option>-eventlog</option></entry>
1938               <entry>Enable runtime event tracing</entry>
1939               <entry>static</entry>
1940               <entry>-</entry>
1941             </row>
1942             <row>
1943               <entry><option>-fno-gen-manifest</option></entry>
1944               <entry>Do not generate a manifest file (Windows only)</entry>
1945               <entry>dynamic</entry>
1946               <entry>-</entry>
1947             </row>
1948             <row>
1949               <entry><option>-fno-embed-manifest</option></entry>
1950               <entry>Do not embed the manifest in the executable (Windows only)</entry>
1951               <entry>dynamic</entry>
1952               <entry>-</entry>
1953             </row>
1954             <row>
1955               <entry><option>-fno-shared-implib</option></entry>
1956               <entry>Don't generate an import library for a DLL (Windows only)</entry>
1957               <entry>dynamic</entry>
1958               <entry>-</entry>
1959             </row>
1960             <row>
1961               <entry><option>-dylib-install-name</option> <replaceable>path</replaceable></entry>
1962               <entry>Set the install name (via <literal>-install_name</literal> passed to Apple's
1963               linker), specifying the full install path of the library file. Any libraries
1964               or executables that link with it later will pick up that path as their
1965               runtime search location for it. (Darwin/MacOS X only)</entry>
1966               <entry>dynamic</entry>
1967               <entry>-</entry>
1968             </row>
1969           </tbody>
1970         </tgroup>
1971       </informaltable>
1972     </sect2>
1973
1974     <sect2>
1975       <title>Replacing phases</title>
1976
1977       <para><xref linkend="replacing-phases"/></para>
1978
1979       <informaltable>
1980         <tgroup cols="4" align="left" colsep="1" rowsep="1">
1981           <thead>
1982             <row>
1983               <entry>Flag</entry>
1984               <entry>Description</entry>
1985               <entry>Static/Dynamic</entry>
1986               <entry>Reverse</entry>
1987             </row>
1988           </thead>
1989           <tbody>
1990             <row>
1991               <entry><option>-pgmL</option> <replaceable>cmd</replaceable></entry>
1992               <entry>Use <replaceable>cmd</replaceable> as the literate pre-processor</entry>
1993               <entry>dynamic</entry>
1994               <entry>-</entry>
1995             </row>
1996             <row>
1997               <entry><option>-pgmP</option> <replaceable>cmd</replaceable></entry>
1998               <entry>Use <replaceable>cmd</replaceable> as the C
1999               pre-processor (with <option>-cpp</option> only)</entry>
2000               <entry>dynamic</entry>
2001               <entry>-</entry>
2002             </row>
2003             <row>
2004               <entry><option>-pgmc</option> <replaceable>cmd</replaceable></entry>
2005               <entry>Use <replaceable>cmd</replaceable> as the C compiler</entry>
2006               <entry>dynamic</entry>
2007               <entry>-</entry>
2008             <row>
2009               <entry><option>-pgmlo</option> <replaceable>cmd</replaceable></entry>
2010               <entry>Use <replaceable>cmd</replaceable> as the LLVM optimiser</entry>
2011               <entry>dynamic</entry>
2012               <entry>-</entry>
2013             </row>
2014             <row>
2015               <entry><option>-pgmlc</option> <replaceable>cmd</replaceable></entry>
2016               <entry>Use <replaceable>cmd</replaceable> as the LLVM compiler</entry>
2017               <entry>dynamic</entry>
2018               <entry>-</entry>
2019             </row>
2020             </row>
2021             <row>
2022               <entry><option>-pgms</option> <replaceable>cmd</replaceable></entry>
2023               <entry>Use <replaceable>cmd</replaceable> as the splitter</entry>
2024               <entry>dynamic</entry>
2025               <entry>-</entry>
2026             </row>
2027             <row>
2028               <entry><option>-pgma</option> <replaceable>cmd</replaceable></entry>
2029               <entry>Use <replaceable>cmd</replaceable> as the assembler</entry>
2030               <entry>dynamic</entry>
2031               <entry>-</entry>
2032             </row>
2033             <row>
2034               <entry><option>-pgml</option> <replaceable>cmd</replaceable></entry>
2035               <entry>Use <replaceable>cmd</replaceable> as the linker</entry>
2036               <entry>dynamic</entry>
2037               <entry>-</entry>
2038             </row>
2039             <row>
2040               <entry><option>-pgmdll</option> <replaceable>cmd</replaceable></entry>
2041               <entry>Use <replaceable>cmd</replaceable> as the DLL generator</entry>
2042               <entry>dynamic</entry>
2043               <entry>-</entry>
2044             </row>
2045             <row>
2046               <entry><option>-pgmF</option> <replaceable>cmd</replaceable></entry>
2047               <entry>Use <replaceable>cmd</replaceable> as the pre-processor
2048               (with <option>-F</option> only)</entry>
2049               <entry>dynamic</entry>
2050               <entry>-</entry>
2051             </row>
2052             <row>
2053               <entry><option>-pgmwindres</option> <replaceable>cmd</replaceable></entry>
2054               <entry>Use <replaceable>cmd</replaceable> as the program for
2055                 embedding manifests on Windows.</entry>
2056               <entry>dynamic</entry>
2057               <entry>-</entry>
2058             </row>
2059           </tbody>
2060         </tgroup>
2061       </informaltable>
2062       <indexterm><primary><option>-pgmL</option></primary></indexterm>
2063       <indexterm><primary><option>-pgmP</option></primary></indexterm>
2064       <indexterm><primary><option>-pgmc</option></primary></indexterm>
2065       <indexterm><primary><option>-pgmlo</option></primary></indexterm>
2066       <indexterm><primary><option>-pgmlc</option></primary></indexterm>
2067       <indexterm><primary><option>-pgma</option></primary></indexterm>
2068       <indexterm><primary><option>-pgml</option></primary></indexterm>
2069       <indexterm><primary><option>-pgmdll</option></primary></indexterm>
2070       <indexterm><primary><option>-pgmF</option></primary></indexterm>
2071
2072     </sect2>
2073
2074     <sect2>
2075       <title>Forcing options to particular phases</title>
2076
2077       <para><xref linkend="forcing-options-through"/></para>
2078
2079       <informaltable>
2080         <tgroup cols="4" align="left" colsep="1" rowsep="1">
2081           <thead>
2082             <row>
2083               <entry>Flag</entry>
2084               <entry>Description</entry>
2085               <entry>Static/Dynamic</entry>
2086               <entry>Reverse</entry>
2087             </row>
2088           </thead>
2089           <tbody>
2090             <row>
2091               <entry><option>-optL</option> <replaceable>option</replaceable></entry>
2092               <entry>pass <replaceable>option</replaceable> to the literate pre-processor</entry>
2093               <entry>dynamic</entry>
2094               <entry>-</entry>
2095             </row>
2096             <row>
2097               <entry><option>-optP</option> <replaceable>option</replaceable></entry>
2098               <entry>pass <replaceable>option</replaceable> to cpp (with
2099               <option>-cpp</option> only)</entry>
2100               <entry>dynamic</entry>
2101               <entry>-</entry>
2102             </row>
2103             <row>
2104               <entry><option>-optF</option> <replaceable>option</replaceable></entry>
2105               <entry>pass <replaceable>option</replaceable> to the
2106               custom pre-processor</entry>
2107               <entry>dynamic</entry>
2108               <entry>-</entry>
2109             </row>
2110             <row>
2111               <entry><option>-optc</option> <replaceable>option</replaceable></entry>
2112               <entry>pass <replaceable>option</replaceable> to the C compiler</entry>
2113               <entry>dynamic</entry>
2114               <entry>-</entry>
2115             </row>
2116             <row>
2117               <entry><option>-optlo</option> <replaceable>option</replaceable></entry>
2118               <entry>pass <replaceable>option</replaceable> to the LLVM optimiser</entry>
2119               <entry>dynamic</entry>
2120               <entry>-</entry>
2121             </row>
2122             <row>
2123               <entry><option>-optlc</option> <replaceable>option</replaceable></entry>
2124               <entry>pass <replaceable>option</replaceable> to the LLVM compiler</entry>
2125               <entry>dynamic</entry>
2126               <entry>-</entry>
2127             </row>
2128             <row>
2129               <entry><option>-optm</option> <replaceable>option</replaceable></entry>
2130               <entry>pass <replaceable>option</replaceable> to the mangler</entry>
2131               <entry>dynamic</entry>
2132               <entry>-</entry>
2133             </row>
2134             <row>
2135               <entry><option>-opta</option> <replaceable>option</replaceable></entry>
2136               <entry>pass <replaceable>option</replaceable> to the assembler</entry>
2137               <entry>dynamic</entry>
2138               <entry>-</entry>
2139             </row>
2140             <row>
2141               <entry><option>-optl</option> <replaceable>option</replaceable></entry>
2142               <entry>pass <replaceable>option</replaceable> to the linker</entry>
2143               <entry>dynamic</entry>
2144               <entry>-</entry>
2145             </row>
2146             <row>
2147               <entry><option>-optdll</option> <replaceable>option</replaceable></entry>
2148               <entry>pass <replaceable>option</replaceable> to the DLL generator</entry>
2149               <entry>dynamic</entry>
2150               <entry>-</entry>
2151             </row>
2152             <row>
2153               <entry><option>-optwindres</option> <replaceable>option</replaceable></entry>
2154               <entry>pass <replaceable>option</replaceable> to <literal>windres</literal>.</entry>
2155               <entry>dynamic</entry>
2156               <entry>-</entry>
2157             </row>
2158           </tbody>
2159         </tgroup>
2160       </informaltable>
2161     </sect2>
2162
2163     <sect2>
2164       <title>Platform-specific options</title>
2165       
2166       <para><xref linkend="options-platform"/></para>
2167
2168       <informaltable>
2169         <tgroup cols="4" align="left" colsep="1" rowsep="1">
2170           <thead>
2171             <row>
2172               <entry>Flag</entry>
2173               <entry>Description</entry>
2174               <entry>Static/Dynamic</entry>
2175               <entry>Reverse</entry>
2176             </row>
2177           </thead>
2178           <tbody>
2179             <row>
2180               <entry><option>-msse2</option></entry>
2181               <entry>(x86 only) Use SSE2 for floating point</entry>
2182               <entry>dynamic</entry>
2183               <entry>-</entry>
2184             </row>
2185           </tbody>
2186           <tbody>
2187             <row>
2188               <entry><option>-monly-[432]-regs</option></entry>
2189               <entry>(x86 only) give some registers back to the C compiler</entry>
2190               <entry>dynamic</entry>
2191               <entry>-</entry>
2192             </row>
2193           </tbody>
2194         </tgroup>
2195       </informaltable>
2196     </sect2>
2197
2198          
2199     <sect2>
2200       <title>External core file options</title>
2201
2202       <para><xref linkend="ext-core"/></para>
2203
2204       <informaltable>
2205         <tgroup cols="4" align="left" colsep="1" rowsep="1">
2206           <thead>
2207             <row>
2208               <entry>Flag</entry>
2209               <entry>Description</entry>
2210               <entry>Static/Dynamic</entry>
2211               <entry>Reverse</entry>
2212             </row>
2213           </thead>
2214           <tbody>
2215             <row>
2216               <entry><option>-fext-core</option></entry>
2217               <entry>Generate <filename>.hcr</filename> external Core files</entry>
2218               <entry>dynamic</entry>
2219               <entry>-</entry>
2220             </row>
2221           </tbody>
2222         </tgroup>
2223       </informaltable>
2224     </sect2>
2225
2226
2227     <sect2>
2228       <title>Compiler debugging options</title>
2229
2230       <para><xref linkend="options-debugging"/></para>
2231
2232       <informaltable>
2233         <tgroup cols="4" align="left" colsep="1" rowsep="1">
2234           <thead>
2235             <row>
2236               <entry>Flag</entry>
2237               <entry>Description</entry>
2238               <entry>Static/Dynamic</entry>
2239               <entry>Reverse</entry>
2240             </row>
2241           </thead>
2242           <tbody>
2243             <row>
2244               <entry><option>-dcore-lint</option></entry>
2245               <entry>Turn on internal sanity checking</entry>
2246               <entry>dynamic</entry>
2247               <entry>-</entry>
2248             </row>
2249             <row>
2250               <entry><option>-ddump-to-file</option></entry>
2251               <entry>Dump to files instead of stdout</entry>
2252               <entry>dynamic</entry>
2253               <entry>-</entry>
2254             </row>
2255             <row>
2256               <entry><option>-ddump-asm</option></entry>
2257               <entry>Dump assembly</entry>
2258               <entry>dynamic</entry>
2259               <entry>-</entry>
2260             </row>
2261             <row>
2262               <entry><option>-ddump-bcos</option></entry>
2263               <entry>Dump interpreter byte code</entry>
2264               <entry>dynamic</entry>
2265               <entry>-</entry>
2266             </row>
2267             <row>
2268               <entry><option>-ddump-cmm</option></entry>
2269               <entry>Dump C-- output</entry>
2270               <entry>dynamic</entry>
2271               <entry>-</entry>
2272             </row>
2273             <row>
2274               <entry><option>-ddump-core-stats</option></entry>
2275               <entry>Print a one-line summary of the size of the Core program
2276                      at the end of the optimisation pipeline </entry>
2277               <entry>dynamic</entry>
2278               <entry>-</entry>
2279             </row>
2280             <row>
2281               <entry><option>-ddump-cpranal</option></entry>
2282               <entry>Dump output from CPR analysis</entry>
2283               <entry>dynamic</entry>
2284               <entry>-</entry>
2285             </row>
2286             <row>
2287               <entry><option>-ddump-cse</option></entry>
2288               <entry>Dump CSE output</entry>
2289               <entry>dynamic</entry>
2290               <entry>-</entry>
2291             </row>
2292             <row>
2293               <entry><option>-ddump-deriv</option></entry>
2294               <entry>Dump deriving output</entry>
2295               <entry>dynamic</entry>
2296               <entry>-</entry>
2297             </row>
2298             <row>
2299               <entry><option>-ddump-ds</option></entry>
2300               <entry>Dump desugarer output</entry>
2301               <entry>dynamic</entry>
2302               <entry>-</entry>
2303             </row>
2304             <row>
2305               <entry><option>-ddump-flatC</option></entry>
2306               <entry>Dump &ldquo;flat&rdquo; C</entry>
2307               <entry>dynamic</entry>
2308               <entry>-</entry>
2309             </row>
2310             <row>
2311               <entry><option>-ddump-foreign</option></entry>
2312               <entry>Dump <literal>foreign export</literal> stubs</entry>
2313               <entry>dynamic</entry>
2314               <entry>-</entry>
2315             </row>
2316             <row>
2317               <entry><option>-ddump-hpc</option></entry>
2318               <entry>Dump after instrumentation for program coverage</entry>
2319               <entry>dynamic</entry>
2320               <entry>-</entry>
2321             </row>
2322             <row>
2323               <entry><option>-ddump-inlinings</option></entry>
2324               <entry>Dump inlining info</entry>
2325               <entry>dynamic</entry>
2326               <entry>-</entry>
2327             </row>
2328             <row>
2329               <entry><option>-ddump-llvm</option></entry>
2330               <entry>Dump LLVM intermediate code</entry>
2331               <entry>dynamic</entry>
2332               <entry>-</entry>
2333             </row>
2334             <row>
2335               <entry><option>-ddump-occur-anal</option></entry>
2336               <entry>Dump occurrence analysis output</entry>
2337               <entry>dynamic</entry>
2338               <entry>-</entry>
2339             </row>
2340             <row>
2341               <entry><option>-ddump-opt-cmm</option></entry>
2342               <entry>Dump the results of C-- to C-- optimising passes</entry>
2343               <entry>dynamic</entry>
2344               <entry>-</entry>
2345             </row>
2346             <row>
2347               <entry><option>-ddump-parsed</option></entry>
2348               <entry>Dump parse tree</entry>
2349               <entry>dynamic</entry>
2350               <entry>-</entry>
2351             </row>
2352             <row>
2353               <entry><option>-ddump-prep</option></entry>
2354               <entry>Dump prepared core</entry>
2355               <entry>dynamic</entry>
2356               <entry>-</entry>
2357             </row>
2358             <row>
2359               <entry><option>-ddump-rn</option></entry>
2360               <entry>Dump renamer output</entry>
2361               <entry>dynamic</entry>
2362               <entry>-</entry>
2363             </row>
2364             <row>
2365               <entry><option>-ddump-rule-firings</option></entry>
2366               <entry>Dump rule firing info</entry>
2367               <entry>dynamic</entry>
2368               <entry>-</entry>
2369             </row>
2370             <row>
2371               <entry><option>-ddump-rule-rewrites</option></entry>
2372               <entry>Dump detailed rule firing info</entry>
2373               <entry>dynamic</entry>
2374               <entry>-</entry>
2375             </row>
2376       <row>
2377         <entry><option>-ddump-rules</option></entry>
2378         <entry>Dump rules</entry>
2379         <entry>dynamic</entry>
2380         <entry>-</entry>
2381       </row>
2382       <row>
2383         <entry><option>-ddump-vect</option></entry>
2384         <entry>Dump vectoriser input and output</entry>
2385         <entry>dynamic</entry>
2386         <entry>-</entry>
2387       </row>
2388             <row>
2389               <entry><option>-ddump-simpl</option></entry>
2390               <entry>Dump final simplifier output</entry>
2391               <entry>dynamic</entry>
2392               <entry>-</entry>
2393             </row>
2394             <row>
2395               <entry><option>-ddump-simpl-phases</option></entry>
2396               <entry>Dump output from each simplifier phase</entry>
2397               <entry>dynamic</entry>
2398               <entry>-</entry>
2399             </row>
2400             <row>
2401               <entry><option>-ddump-simpl-iterations</option></entry>
2402               <entry>Dump output from each simplifier iteration</entry>
2403               <entry>dynamic</entry>
2404               <entry>-</entry>
2405             </row>
2406             <row>
2407               <entry><option>-ddump-spec</option></entry>
2408               <entry>Dump specialiser output</entry>
2409               <entry>dynamic</entry>
2410               <entry>-</entry>
2411             </row>
2412             <row>
2413               <entry><option>-ddump-splices</option></entry>
2414               <entry>Dump TH spliced expressions, and what they evaluate to</entry>
2415               <entry>dynamic</entry>
2416               <entry>-</entry>
2417             </row>
2418             <row>
2419               <entry><option>-ddump-stg</option></entry>
2420               <entry>Dump final STG</entry>
2421               <entry>dynamic</entry>
2422               <entry>-</entry>
2423             </row>
2424             <row>
2425               <entry><option>-ddump-stranal</option></entry>
2426               <entry>Dump strictness analyser output</entry>
2427               <entry>dynamic</entry>
2428               <entry>-</entry>
2429             </row>
2430             <row>
2431               <entry><option>-ddump-tc</option></entry>
2432               <entry>Dump typechecker output</entry>
2433               <entry>dynamic</entry>
2434               <entry>-</entry>
2435             </row>
2436             <row>
2437               <entry><option>-ddump-types</option></entry>
2438               <entry>Dump type signatures</entry>
2439               <entry>dynamic</entry>
2440               <entry>-</entry>
2441             </row>
2442             <row>
2443               <entry><option>-ddump-worker-wrapper</option></entry>
2444               <entry>Dump worker-wrapper output</entry>
2445               <entry>dynamic</entry>
2446               <entry>-</entry>
2447             </row>
2448             <row>
2449               <entry><option>-ddump-if-trace</option></entry>
2450               <entry>Trace interface files</entry>
2451               <entry>dynamic</entry>
2452               <entry>-</entry>
2453             </row>
2454       <row>
2455         <entry><option>-ddump-tc-trace</option></entry>
2456         <entry>Trace typechecker</entry>
2457         <entry>dynamic</entry>
2458         <entry>-</entry>
2459       </row>
2460       <row>
2461         <entry><option>-ddump-vt-trace</option></entry>
2462         <entry>Trace vectoriser</entry>
2463         <entry>dynamic</entry>
2464         <entry>-</entry>
2465       </row>
2466             <row>
2467               <entry><option>-ddump-rn-trace</option></entry>
2468               <entry>Trace renamer</entry>
2469               <entry>dynamic</entry>
2470               <entry>-</entry>
2471             </row>
2472             <row>
2473               <entry><option>-ddump-rn-stats</option></entry>
2474               <entry>Renamer stats</entry>
2475               <entry>dynamic</entry>
2476               <entry>-</entry>
2477             </row>
2478             <row>
2479               <entry><option>-ddump-simpl-stats</option></entry>
2480               <entry>Dump simplifier stats</entry>
2481               <entry>dynamic</entry>
2482               <entry>-</entry>
2483             </row>
2484             <row>
2485               <entry><option>-dno-debug-output</option></entry>
2486               <entry>Suppress unsolicited debugging output</entry>
2487               <entry>static</entry>
2488               <entry>-</entry>
2489             </row>
2490             <row>
2491               <entry><option>-dppr-debug</option></entry>
2492               <entry>Turn on debug printing (more verbose)</entry>
2493               <entry>static</entry>
2494               <entry>-</entry>
2495             </row>
2496             <row>
2497               <entry><option>-dppr-noprags</option></entry>
2498               <entry>Don't output pragma info in dumps</entry>
2499               <entry>static</entry>
2500               <entry>-</entry>
2501             </row>
2502             <row>
2503               <entry><option>-dppr-user-length</option></entry>
2504               <entry>Set the depth for printing expressions in error msgs</entry>
2505               <entry>static</entry>
2506               <entry>-</entry>
2507             </row>
2508             <row>
2509               <entry><option>-dppr-colsNNN</option></entry>
2510               <entry>Set the width of debugging output. For example <option>-dppr-cols200</option></entry>
2511               <entry>static</entry>
2512               <entry>-</entry>
2513             </row>
2514             <row>
2515               <entry><option>-dppr-case-as-let</option></entry>
2516               <entry>Print single alternative case expressions as strict lets.</entry>
2517               <entry>static</entry>
2518               <entry>-</entry>
2519             </row>
2520             <row>
2521               <entry><option>-dsuppress-all</option></entry>
2522               <entry>In core dumps, suppress everything that is suppressable.</entry>
2523               <entry>static</entry>
2524               <entry>-</entry>
2525             </row>
2526             <row>
2527               <entry><option>-dsuppress-uniques</option></entry>
2528               <entry>Suppress the printing of uniques in debug output (easier to use <command>diff</command>)</entry>
2529               <entry>static</entry>
2530               <entry>-</entry>
2531             </row>
2532             <row>
2533               <entry><option>-dsuppress-idinfo</option></entry>
2534               <entry>Suppress extended information about identifiers where they are bound</entry>
2535               <entry>static</entry>
2536               <entry>-</entry>
2537             </row>
2538             <row>
2539               <entry><option>-dsuppress-module-prefixes</option></entry>
2540               <entry>Suppress the printing of module qualification prefixes</entry>
2541               <entry>static</entry>
2542               <entry>-</entry>
2543             </row>
2544             <row>
2545               <entry><option>-dsuppress-type-signatures</option></entry>
2546               <entry>Suppress type signatures</entry>
2547               <entry>static</entry>
2548               <entry>-</entry>
2549             </row>
2550             <row>
2551               <entry><option>-dsuppress-type-applications</option></entry>
2552               <entry>Suppress type applications</entry>
2553               <entry>static</entry>
2554               <entry>-</entry>
2555             </row>
2556             <row>
2557               <entry><option>-dsuppress-coercions</option></entry>
2558               <entry>Suppress the printing of coercions in Core dumps to make them shorter</entry>
2559               <entry>static</entry>
2560               <entry>-</entry>
2561             </row>
2562             <row>
2563               <entry><option>-dsource-stats</option></entry>
2564               <entry>Dump haskell source stats</entry>
2565               <entry>dynamic</entry>
2566               <entry>-</entry>
2567             </row>
2568             <row>
2569               <entry><option>-dcmm-lint</option></entry>
2570               <entry>C-- pass sanity checking</entry>
2571               <entry>dynamic</entry>
2572               <entry>-</entry>
2573             </row>
2574             <row>
2575               <entry><option>-dstg-lint</option></entry>
2576               <entry>STG pass sanity checking</entry>
2577               <entry>dynamic</entry>
2578               <entry>-</entry>
2579             </row>
2580             <row>
2581               <entry><option>-dstg-stats</option></entry>
2582               <entry>Dump STG stats</entry>
2583               <entry>dynamic</entry>
2584               <entry>-</entry>
2585             </row>
2586             <row>
2587               <entry><option>-dverbose-core2core</option></entry>
2588               <entry>Show output from each core-to-core pass</entry>
2589               <entry>dynamic</entry>
2590               <entry>-</entry>
2591             </row>
2592             <row>
2593               <entry><option>-dverbose-stg2stg</option></entry>
2594               <entry>Show output from each STG-to-STG pass</entry>
2595               <entry>dynamic</entry>
2596               <entry>-</entry>
2597             </row>
2598             <row>
2599               <entry><option>-dshow-passes</option></entry>
2600               <entry>Print out each pass name as it happens</entry>
2601               <entry>dynamic</entry>
2602               <entry>-</entry>
2603             </row>
2604             <row>
2605               <entry><option>-dfaststring-stats</option></entry>
2606               <entry>Show statistics for fast string usage when finished</entry>
2607               <entry>dynamic</entry>
2608               <entry>-</entry>
2609             </row>
2610           </tbody>
2611         </tgroup>
2612       </informaltable>
2613     </sect2>
2614       
2615     <sect2>
2616       <title>Misc compiler options</title>
2617
2618       <informaltable>
2619         <tgroup cols="4" align="left" colsep="1" rowsep="1">
2620           <thead>
2621             <row>
2622               <entry>Flag</entry>
2623               <entry>Description</entry>
2624               <entry>Static/Dynamic</entry>
2625               <entry>Reverse</entry>
2626             </row>
2627           </thead>
2628           <tbody>
2629             <row>
2630               <entry><option>-fno-hi-version-check</option></entry>
2631               <entry>Don't complain about <literal>.hi</literal> file mismatches</entry>
2632               <entry>static</entry>
2633               <entry>-</entry>
2634             </row>
2635             <row>
2636               <entry><option>-dno-black-holing</option></entry>
2637               <entry>Turn off black holing (probably doesn't work)</entry>
2638               <entry>static</entry>
2639               <entry>-</entry>
2640             </row>
2641             <row>
2642               <entry><option>-fhistory-size</option></entry>
2643               <entry>Set simplification history size</entry>
2644               <entry>static</entry>
2645               <entry>-</entry>
2646             </row>
2647             <row>
2648               <entry><option>-funregisterised</option></entry>
2649               <entry>Unregisterised compilation (use <option>-unreg</option> instead)</entry>
2650               <entry>static</entry>
2651               <entry>-</entry>
2652             </row>
2653             <row>
2654               <entry><option>-fno-ghci-sandbox</option></entry>
2655               <entry>Turn off the GHCi sandbox. Means computations are run in teh main thread, rather than a forked thread.</entry>
2656               <entry>dynamic</entry>
2657               <entry>-</entry>
2658             </row>
2659           </tbody>
2660         </tgroup>
2661       </informaltable>
2662     </sect2>
2663   </sect1>
2664
2665
2666 <!--
2667 Still to document:
2668
2669 Misc:
2670   ,  ( "H"                 , HasArg (setHeapSize . fromIntegral . decodeSize) )
2671
2672   -Bdir
2673 -->
2674
2675 <!-- Emacs stuff:
2676      ;;; Local Variables: ***
2677      ;;; sgml-parent-document: ("users_guide.xml" "book" "chapter") ***
2678      ;;; End: ***
2679  -->