[project @ 2000-12-16 13:24:55 by simonmar]
authorsimonmar <unknown>
Sat, 16 Dec 2000 13:24:55 +0000 (13:24 +0000)
committersimonmar <unknown>
Sat, 16 Dec 2000 13:24:55 +0000 (13:24 +0000)
GC unused consistency checking options, and update the comments for
HscIfaceFileVersion.

ghc/mk/version.mk

index 4dbe5fb..7d875c7 100644 (file)
@@ -39,21 +39,6 @@ ProjectNameShort  = ghc
 ProjectVersion    = 4.11
 ProjectVersionInt = 411
 
-#
-# Optionally, you can get the compiler driver to check the
-# version consistency between the object files being linked.
-# 
-# Major numbers must always agree, minor disagreements yield a warning.
-#
-# These version numbers are currently separate from the project
-# version - one (semi-valid) reason for having them separate is that
-# object files produced by different versions of the compiler need
-# not be incompatible..
-HscMajorVersion=40
-HscMinorVersion=0
-CcMajorVersion=36
-CcMinorVersion=1
-
 # Interface file version (hi-boot files only)
 #
 # A GHC built with HscIfaceFileVersion=n will look for 
@@ -61,17 +46,15 @@ CcMinorVersion=1
 #      M.hi-boot.
 # (It'll be happy with the latter if the former doesn't exist.)
 #
-# This variable is used ONLY for hi-boot files.
-# Its only purpose is to allow you to have a single directory
-# with multiple .hi-boot files for the same module, each 
-# corresponding to a different version of GHC.  
 #
-# It is propagated to hsc like this:
-#      * This file is included in ghc/Makefile
-#      * ghc/Makefile has a main/Constants.lhs-specific flag
-#              -DHscIfaceFileVersion=$(HscIfaceFileVersion)
-#      * main/Constants.lhs defines 
-#              interfaceFileFormatVersion = HscIfaceFileVersion
-# So there!
+# This variable is used ONLY for hi-boot files.  Its only purpose is
+# to allow you to have a single directory with multiple .hi-boot files
+# for the same module, each corresponding to a different version of
+# GHC.  Normal compiler-generated .hi files have ProjectVersionInt
+# (above) burned in, and can only be used by a matching compiler.
+#
+# HscIfaceFileVersion is propagated to hsc via
+# ghc/compiler/main/Config.hs, which is automatically generated by
+# ghc/compiler/Makefile.
 
 HscIfaceFileVersion=5