From: simonmar Date: Tue, 21 Aug 2001 09:36:15 +0000 (+0000) Subject: [project @ 2001-08-21 09:36:15 by simonmar] X-Git-Tag: Approximately_9120_patches~1160 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=43471ae0c25f5f44c4dc094f8a0929a43cb999c3;p=ghc-hetmet.git [project @ 2001-08-21 09:36:15 by simonmar] document the requirement for source files in --make. --- diff --git a/ghc/docs/users_guide/using.sgml b/ghc/docs/users_guide/using.sgml index 184c02d..09c86a3 100644 --- a/ghc/docs/users_guide/using.sgml +++ b/ghc/docs/users_guide/using.sgml @@ -49,7 +49,10 @@ -c - + + + + This is the traditional batch-compiler mode, in which @@ -418,6 +421,13 @@ ghc --make Main.hs If the program needs to be linked with additional objects (say, some auxilliary C code), these can be specified on the command line as usual. + + Note that GHC can only follow dependencies if it has the + source file available, so if your program includes a module for + which there is no source file, even if you have an object and an + interface file for the module, then GHC will complain. The + exception to this rule is for package modules, which may or may + not have source files.