From: simonmar Date: Thu, 31 Mar 2005 08:46:05 +0000 (+0000) Subject: [project @ 2005-03-31 08:46:05 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~844 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=d63bd45eb342eed90573f48b2b66edd9b08377b8;p=ghc-hetmet.git [project @ 2005-03-31 08:46:05 by simonmar] Note change in behaviour of ghc -M: all modules must now have source files --- diff --git a/ghc/docs/users_guide/separate_compilation.xml b/ghc/docs/users_guide/separate_compilation.xml index cae8d35..97fe772 100644 --- a/ghc/docs/users_guide/separate_compilation.xml +++ b/ghc/docs/users_guide/separate_compilation.xml @@ -922,6 +922,14 @@ M.o : X.hi-boot ghc traces the dependencies, just like ghc --make (a new feature in GHC 6.4). + Note that ghc -M needs to find a source + file for each module in the dependency graph, so that it can + parse the import declarations and follow dependencies. Any pre-compiled + modules without source files must therefore belong to a + packageThis is a change in behaviour relative to 6.2 and + earlier. + . + By default, ghc -M generates all the dependencies, and then concatenates them onto the end of makefile (or