X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fseparate_compilation.xml;h=97fe772b2cce64ac1a327de5dfd560c6da593bce;hb=d63bd45eb342eed90573f48b2b66edd9b08377b8;hp=cae8d352fc08ff8cff74a22d71e15a4d7676ebcf;hpb=6df96e7212debd7e9c9cf7b4b6ab3ad336bf3a5c;p=ghc-hetmet.git
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