Commit d7a583e3 authored by simonmar's avatar 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
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment