[project @ 2001-08-04 06:19:54 by ken]
authorken <unknown>
Sat, 4 Aug 2001 06:19:55 +0000 (06:19 +0000)
committerken <unknown>
Sat, 4 Aug 2001 06:19:55 +0000 (06:19 +0000)
commitea138284b7343bb1810cfbd0284a608dc57f7d46
tree6600b7e359939ee1f403c227f62894640bd7b7fe
parent225d251337438e2f7870f0ec2781b1c616ef7462
[project @ 2001-08-04 06:19:54 by ken]
NB: This commit renames some files.  In each of your build directories,
    you will need to:

rm -f ghc/compiler/prelude/primops.txt
rm -f ghc/compiler/prelude/primops.i
rm -f ghc/lib/std/PrelGHC.hi-boot
lndir ../fptools # or wherever your CVS working directory is

The change:
Run PrelGHC.hi-boot through the preprocesor, as we already do primops.txt.

This commit introduces a new prefix, ".pp", which means "run through
preprocesor".  In a previous commit, I changed ghc/compiler/Makefile
to preprocess primops.txt into primops.i.  That is gone now.  We now
preprocess primops.txt.pp (a file in the CVS repository) into primops.txt
(a platform-dependent file, created at build time).  We also preprocess
PrelGHC.hi-boot.pp (a file in the CVS repository) into PrelGHC.hi-boot
(a platform-dependent file, created at build time).

The reason for using the preprocessor is because fewer primops are defined
if SUPPORT_LONG_LONGS is undefined.  SUPPORT_LONG_LONGS is undefined on
64-bit architectures such as the Alpha.
ghc/compiler/Makefile
ghc/compiler/prelude/primops.txt.pp [moved from ghc/compiler/prelude/primops.txt with 99% similarity]
ghc/lib/std/Makefile
ghc/lib/std/PrelGHC.hi-boot.pp [moved from ghc/lib/std/PrelGHC.hi-boot with 92% similarity]
ghc/utils/genprimopcode/Main.hs
mk/suffix.mk