Document -dynload flag. Also add it and -shared to the flags reference.
[ghc-hetmet.git] / docs / users_guide / flags.xml
index f96edbf..a914610 100644 (file)
          </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>