From 43471ae0c25f5f44c4dc094f8a0929a43cb999c3 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 21 Aug 2001 09:36:15 +0000 Subject: [PATCH] [project @ 2001-08-21 09:36:15 by simonmar] document the requirement for source files in --make. --- ghc/docs/users_guide/using.sgml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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. -- 1.7.10.4