From 9942fd14e83fca958dcf0e07c3725aa867776ce9 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 7 Mar 2005 13:18:19 +0000 Subject: [PATCH] [project @ 2005-03-07 13:18:19 by simonmar] Fix validate bug --- ghc/docs/users_guide/separate_compilation.xml | 55 ++++++++++++++----------- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/ghc/docs/users_guide/separate_compilation.xml b/ghc/docs/users_guide/separate_compilation.xml index 2d28160..ecb843f 100644 --- a/ghc/docs/users_guide/separate_compilation.xml +++ b/ghc/docs/users_guide/separate_compilation.xml @@ -369,7 +369,7 @@ $ ghc -c parse/Foo.hs parse/Bar.hs gurgle/Bumble.hs -odir `arch` - + Keeping Intermediate Files intermediate files, saving @@ -682,28 +682,36 @@ When a hs-boot file A.hs-boot an error is reported if the two are inconsistent. - Just as compiling A.hs produces an -interface file A.hi, and an object file -A.o, so compiling A.hs-boot -produces an interface file -A.hi-boot, and an pseudo-object file -A.o-boot: - - -The pseudo-object file A.o-boot is empty (don't link it!), but it is -very useful when using a Makefile, to record when the A.hi-boot was -last brought up to date (see ). - - - - The hi-boot generated by compiling a hs-boot - file is in the same machine-generated binary format as any other - GHC-generated interface file (e.g. B.hi). - You can display its contents with ghc --show-iface. If you - specify a directory for interface files, the flag, then that affects - hi-boot files too.b - - + + Just as compiling A.hs produces an + interface file A.hi, and an object file + A.o, so compiling + A.hs-boot produces an interface file + A.hi-boot, and an pseudo-object file + A.o-boot: + + + + The pseudo-object file A.o-boot is + empty (don't link it!), but it is very useful when using a + Makefile, to record when the A.hi-boot was + last brought up to date (see ). + + + + The hi-boot generated by compiling a + hs-boot file is in the same + machine-generated binary format as any other GHC-generated + interface file (e.g. B.hi). You can + display its contents with ghc + --show-iface. If you specify a directory for + interface files, the flag, then that + affects hi-boot files + too. + + + If hs-boot files are considered distinct from their parent source files, and if a {-# SOURCE #-} import is considered to refer to the @@ -850,6 +858,7 @@ Foo.o Foo.hc Foo.s : Baz.hi # Foo imports Baz + Dependency generation dependencies in Makefiles -- 1.7.10.4