cvs commit: fptools/ghc/compiler Makefile fptools/ghc/compiler/prelude
primops.txt.pp primops.txt fptools/ghc/lib/std PrelGHC.hi-boot.pp
Makefile PrelGHC.hi-boot fptools/ghc/utils/genprimopcode Main.hs
fptools/mk suffix.mk
ken@glass.cse.ogi.edu
ken@glass.cse.ogi.edu
Fri, 3 Aug 2001 23:19:55 -0700
ken 2001/08/03 23:19:55 PDT
Modified files:
ghc/compiler Makefile
ghc/lib/std Makefile
ghc/utils/genprimopcode Main.hs
mk suffix.mk
Added files:
ghc/compiler/prelude primops.txt.pp
ghc/lib/std PrelGHC.hi-boot.pp
Removed files:
ghc/compiler/prelude primops.txt
ghc/lib/std PrelGHC.hi-boot
Log:
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.
Revision Changes Path
1.181 +13 -16 fptools/ghc/compiler/Makefile
1.84 +2 -2 fptools/ghc/lib/std/Makefile
1.7 +2 -2 fptools/ghc/utils/genprimopcode/Main.hs
1.48 +7 -0 fptools/mk/suffix.mk