Document -dynload flag. Also add it and -shared to the flags reference.
[ghc-hetmet.git] / docs / users_guide / flags.xml
index 978ddf7..a914610 100644 (file)
            <entry><option>-fno-warn-unused-matches</option></entry>
          </row>
 
+         <row>
+           <entry><option>-fwarn-unused-do-bind</option></entry>
+           <entry>warn about do bindings that appear to throw away values of types other than <literal>()</literal></entry>
+           <entry>dynamic</entry>
+           <entry><option>-fno-warn-unused-do-bind</option></entry>
+         </row>
+
+         <row>
+           <entry><option>-fwarn-wrong-do-bind</option></entry>
+           <entry>warn about do bindings that appear to throw away monadic values that you should have bound instead</entry>
+           <entry>dynamic</entry>
+           <entry><option>-fno-warn-wrong-do-bind</option></entry>
+         </row>
+
          </tbody>
        </tgroup>
       </informaltable>
          </thead>
          <tbody>
            <row>
+             <entry><option>-shared</option></entry>
+             <entry>Generate a shared library (as opposed to an executable)</entry>
+             <entry>dynamic</entry>
+             <entry>-</entry>
+           </row>
+           <row>
              <entry><option>-fPIC</option></entry>
              <entry>Generate position-independent code (where available)</entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
            <row>
+             <entry><option>-dynload</option></entry>
+             <entry>Selects one of a number of modes for finding shared
+               libraries at runtime.</entry>
+             <entry>static</entry>
+             <entry>-</entry>
+           </row>
+           <row>
              <entry><option>-framework</option> <replaceable>name</replaceable></entry>
              <entry>On Darwin/MacOS X only, link in the framework <replaceable>name</replaceable>.
                This option corresponds to the <option>-framework</option> option for Apple's Linker.</entry>