X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fseparate_compilation.xml;h=ecb843f57cc584bbd6270da22de45c510f3aa332;hp=2d281607d158109d1d9fc62770dffa89cb16764d;hb=9942fd14e83fca958dcf0e07c3725aa867776ce9;hpb=04e294bda9f5127d3d5f09d20491e52b7f796d7a
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 Filesintermediate 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 generationdependencies in Makefiles