Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
d7a583e3
Commit
d7a583e3
authored
Feb 19, 2003
by
simonmar
Browse files
[project @ 2003-02-19 11:52:42 by simonmar]
Add note to description of -no-hs-main: it forces linking in --make mode too.
parent
5c9bcb9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/docs/users_guide/phases.sgml
View file @
d7a583e3
...
...
@@ -563,7 +563,7 @@ strmod = "\
as part of another (non-Haskell) program, the RTS will not
be supplying its definition of <function>main()</function>
at link-time, you will have to. To signal that to the
driver script
when linking, use
compiler
when linking, use
<option>-no-hs-main</option>.</para>
<para>Notice that since the command-line passed to the
...
...
@@ -573,6 +573,13 @@ strmod = "\
though, just try linking once with <option>-v</option> on
to see what options the driver passes through to the
linker.</para>
<para>The <option>-no-hs-main</option> flag can also be
used to persuade the compiler to do the link step in
<option>--make</option> mode when there is no Haskell
<literal>Main</literal> module present (normally the
compiler will not attempt linking when there is no
<literal>Main</literal>).</para>
</listitem>
</varlistentry>
</variablelist>
...
...
Write
Preview
Supports
Markdown
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