diff options
| -rw-r--r-- | ghc/docs/users_guide/phases.sgml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ghc/docs/users_guide/phases.sgml b/ghc/docs/users_guide/phases.sgml index 0c39425450..fe5a6e2ae6 100644 --- a/ghc/docs/users_guide/phases.sgml +++ b/ghc/docs/users_guide/phases.sgml @@ -359,10 +359,11 @@ strmod = "\ at link-time, you will have to. To signal that to the driver script when linking, use <option>-no-hs-main</option>. In fact, this only has an - effect when the RTS is compiled into a DLL; the - rest of the time, static linking allows the RTS's - <function>main()</function> to be overridden in the same - way as any other library routine.</para> + effect when using <option>-dynamic</option> (i.e. when the + RTS is in a DLL); the rest of the time, static linking + allows the RTS's <function>main()</function> to be + overridden in the same way as any other library + routine.</para> <para>Notice that since the command-line passed to the linker is rather involved, you probably want to use |
