Document -dynload flag. Also add it and -shared to the flags reference.
authorDuncan Coutts <duncan@well-typed.com>
Sat, 4 Jul 2009 21:21:19 +0000 (21:21 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Sat, 4 Jul 2009 21:21:19 +0000 (21:21 +0000)
docs/users_guide/flags.xml
docs/users_guide/phases.xml

index f96edbf..a914610 100644 (file)
          </thead>
          <tbody>
            <row>
          </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><option>-fPIC</option></entry>
              <entry>Generate position-independent code (where available)</entry>
              <entry>static</entry>
              <entry>-</entry>
            </row>
            <row>
              <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>
              <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>
index 467f6ad..ac71b97 100644 (file)
@@ -863,6 +863,19 @@ $ cat foo.hspp</screen>
         </listitem>
       </varlistentry>
 
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term>
+          <option>-dynload</option>
+          <indexterm><primary><option>-dynload</option></primary></indexterm>
+        </term>
+        <listitem>
+          <para>
+           This flag selects one of a number of modes for finding shared
+           libraries at runtime. See <xref linkend="finding-shared-libs"/> for
+           a description of each mode.
+          </para>
+        </listitem>
+      </varlistentry>
 
       <varlistentry>
         <term>
 
       <varlistentry>
         <term>