Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
jberryman
GHC
Commits
901d7795
Commit
901d7795
authored
Jul 04, 2009
by
Duncan Coutts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document -dynload flag. Also add it and -shared to the flags reference.
parent
a7981216
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
docs/users_guide/flags.xml
docs/users_guide/flags.xml
+13
-0
docs/users_guide/phases.xml
docs/users_guide/phases.xml
+13
-0
No files found.
docs/users_guide/flags.xml
View file @
901d7795
...
...
@@ -1720,6 +1720,12 @@
</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>
...
...
@@ -1732,6 +1738,13 @@
<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>
.
...
...
docs/users_guide/phases.xml
View file @
901d7795
...
...
@@ -863,6 +863,19 @@ $ cat foo.hspp</screen>
</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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment