From: rrt Date: Wed, 22 Aug 2001 09:47:37 +0000 (+0000) Subject: [project @ 2001-08-22 09:47:37 by rrt] X-Git-Tag: Approximately_9120_patches~1140 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=1a369f5204343d9cf103d329731636a0ae3e5859;p=ghc-hetmet.git [project @ 2001-08-22 09:47:37 by rrt] Point out that -no-hs-main doesn't have any effect unless you're building DLLs. --- diff --git a/ghc/docs/users_guide/phases.sgml b/ghc/docs/users_guide/phases.sgml index e78f34a..8542eaf 100644 --- a/ghc/docs/users_guide/phases.sgml +++ b/ghc/docs/users_guide/phases.sgml @@ -358,7 +358,11 @@ strmod = "\ be supplying its definition of main() at link-time, you will have to. To signal that to the driver script when linking, use - . + . In fact, this only has an + effect when the Haskell code is compiled into a DLL; the + rest of the time, static linking allows the RTS's + main() to be overridden in the same + way as any other library routine. Notice that since the command-line passed to the linker is rather involved, you probably want to use