From d7a583e307743bfe73114c1a081faee4219ca7ff Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 19 Feb 2003 11:52:42 +0000 Subject: [PATCH] [project @ 2003-02-19 11:52:42 by simonmar] Add note to description of -no-hs-main: it forces linking in --make mode too. --- ghc/docs/users_guide/phases.sgml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ghc/docs/users_guide/phases.sgml b/ghc/docs/users_guide/phases.sgml index fa0ae08..0dee0c1 100644 --- a/ghc/docs/users_guide/phases.sgml +++ b/ghc/docs/users_guide/phases.sgml @@ -563,7 +563,7 @@ strmod = "\ as part of another (non-Haskell) program, the RTS will not be supplying its definition of main() at link-time, you will have to. To signal that to the - driver script when linking, use + compiler when linking, use . Notice that since the command-line passed to the @@ -573,6 +573,13 @@ strmod = "\ though, just try linking once with on to see what options the driver passes through to the linker. + + The flag can also be + used to persuade the compiler to do the link step in + mode when there is no Haskell + Main module present (normally the + compiler will not attempt linking when there is no + Main). -- 1.7.10.4