simonmar 2002/08/29 08:44:24 PDT
Modified files:
ghc/compiler HsVersions.h Makefile
ghc/compiler/absCSyn PprAbsC.lhs
ghc/compiler/basicTypes OccName.lhs SrcLoc.lhs UniqSupply.lhs
Unique.lhs Var.lhs
ghc/compiler/codeGen CgHeapery.lhs CgStackery.lhs CodeGen.lhs
ghc/compiler/compMan CmLink.lhs CompManager.lhs
ghc/compiler/coreSyn CoreUnfold.lhs
ghc/compiler/ghci ByteCodeFFI.lhs ByteCodeLink.lhs
InteractiveUI.hs
ghc/compiler/main BinIface.hs CmdLineOpts.lhs
CodeOutput.lhs DriverFlags.hs
DriverMkDepend.hs DriverPipeline.hs
DriverState.hs DriverUtil.hs Finder.lhs
HscMain.lhs Main.hs SysTools.lhs
ghc/compiler/nativeGen AbsCStixGen.lhs AsmCodeGen.lhs
MachCode.lhs MachMisc.lhs PprMach.lhs
Stix.lhs StixInfo.lhs
ghc/compiler/ndpFlatten Flattening.hs
ghc/compiler/parser Ctype.lhs Lex.lhs
ghc/compiler/prelude PrelRules.lhs
ghc/compiler/rename RnHiFiles.lhs RnMonad.lhs
ghc/compiler/simplCore SimplMonad.lhs
ghc/compiler/typecheck TcEnv.lhs TcMonad.lhs
ghc/compiler/utils BitSet.lhs FastString.lhs FastTypes.lhs
FiniteMap.lhs Outputable.lhs Panic.lhs
Pretty.lhs PrimPacked.lhs
StringBuffer.lhs UniqFM.lhs Util.lhs
Log:
Housekeeping:
- The main goal is to remove dependencies on hslibs for a
bootstrapped compiler, leaving only a requirement that the
packages base, haskell98 and readline are built in stage 1 in
order to bootstrap. We're almost there: Posix is still required
for signal handling, but all other dependencies on hslibs are now
gone.
Uses of Addr and ByteArray/MutableByteArray array are all gone
from the compiler. PrimPacked defines the Ptr type for GHC 4.08
(which didn't have it), and it defines simple BA and MBA types to
replace uses of ByteArray and MutableByteArray respectively.
- Clean up import lists. HsVersions.h now defines macros for some
modules which have moved between GHC versions. eg. one now
imports 'GLAEXTS' to get at unboxed types and primops in the
compiler.
Many import lists have been sorted as per the recommendations in
the new style guidelines in the commentary.
I've built the compiler with GHC 4.08.2, 5.00.2, 5.02.3, 5.04 and
itself, and everything still works here. Doubtless I've got something
wrong, though.
Revision Changes Path
1.27 +30 -0 fptools/ghc/compiler/HsVersions.h
1.220 +11 -13 fptools/ghc/compiler/Makefile
1.93 +45 -6 fptools/ghc/compiler/absCSyn/PprAbsC.lhs
1.48 +1 -1 fptools/ghc/compiler/basicTypes/OccName.lhs
1.22 +2 -1 fptools/ghc/compiler/basicTypes/SrcLoc.lhs
1.29 +2 -5 fptools/ghc/compiler/basicTypes/UniqSupply.lhs
1.68 +8 -35 fptools/ghc/compiler/basicTypes/Unique.lhs
1.30 +1 -1 fptools/ghc/compiler/basicTypes/Var.lhs
1.32 +3 -2 fptools/ghc/compiler/codeGen/CgHeapery.lhs
1.21 +4 -6 fptools/ghc/compiler/codeGen/CgStackery.lhs
1.50 +1 -1 fptools/ghc/compiler/codeGen/CodeGen.lhs
1.48 +10 -8 fptools/ghc/compiler/compMan/CmLink.lhs
1.118 +1 -2 fptools/ghc/compiler/compMan/CompManager.lhs
1.90 +1 -1 fptools/ghc/compiler/coreSyn/CoreUnfold.lhs
1.13 +3 -2 fptools/ghc/compiler/ghci/ByteCodeFFI.lhs
1.41 +0 -6 fptools/ghc/compiler/ghci/ByteCodeLink.lhs
1.132 +18 -15 fptools/ghc/compiler/ghci/InteractiveUI.hs
1.9 +5 -5 fptools/ghc/compiler/main/BinIface.hs
1.168 +4 -4 fptools/ghc/compiler/main/CmdLineOpts.lhs
1.41 +3 -2 fptools/ghc/compiler/main/CodeOutput.lhs
1.101 +4 -4 fptools/ghc/compiler/main/DriverFlags.hs
1.21 +3 -3 fptools/ghc/compiler/main/DriverMkDepend.hs
1.136 +3 -5 fptools/ghc/compiler/main/DriverPipeline.hs
1.81 +4 -3 fptools/ghc/compiler/main/DriverState.hs
1.33 +4 -4 fptools/ghc/compiler/main/DriverUtil.hs
1.56 +2 -1 fptools/ghc/compiler/main/Finder.lhs
1.166 +5 -7 fptools/ghc/compiler/main/HscMain.lhs
1.109 +15 -14 fptools/ghc/compiler/main/Main.hs
1.75 +28 -33 fptools/ghc/compiler/main/SysTools.lhs
1.53 +1 -1 fptools/ghc/compiler/nativeGen/AbsCStixGen.lhs
1.56 +2 -2 fptools/ghc/compiler/nativeGen/AsmCodeGen.lhs
1.103 +1 -1 fptools/ghc/compiler/nativeGen/MachCode.lhs
1.64 +3 -2 fptools/ghc/compiler/nativeGen/MachMisc.lhs
1.64 +83 -34 fptools/ghc/compiler/nativeGen/PprMach.lhs
1.41 +5 -4 fptools/ghc/compiler/nativeGen/Stix.lhs
1.24 +2 -2 fptools/ghc/compiler/nativeGen/StixInfo.lhs
1.4 +12 -14 fptools/ghc/compiler/ndpFlatten/Flattening.hs
1.8 +5 -5 fptools/ghc/compiler/parser/Ctype.lhs
1.84 +3 -3 fptools/ghc/compiler/parser/Lex.lhs
1.35 +7 -6 fptools/ghc/compiler/prelude/PrelRules.lhs
1.67 +5 -4 fptools/ghc/compiler/rename/RnHiFiles.lhs
1.134 +4 -2 fptools/ghc/compiler/rename/RnMonad.lhs
1.53 +5 -13 fptools/ghc/compiler/simplCore/SimplMonad.lhs
1.109 +1 -1 fptools/ghc/compiler/typecheck/TcEnv.lhs
1.80 +3 -4 fptools/ghc/compiler/typecheck/TcMonad.lhs
1.9 +3 -1 fptools/ghc/compiler/utils/BitSet.lhs
1.41 +86 -50 fptools/ghc/compiler/utils/FastString.lhs
1.3 +3 -1 fptools/ghc/compiler/utils/FastTypes.lhs
1.33 +2 -1 fptools/ghc/compiler/utils/FiniteMap.lhs
1.52 +2 -1 fptools/ghc/compiler/utils/Outputable.lhs
1.10 +6 -4 fptools/ghc/compiler/utils/Panic.lhs
1.25 +7 -14 fptools/ghc/compiler/utils/Pretty.lhs
1.26 +156 -83 fptools/ghc/compiler/utils/PrimPacked.lhs
1.57 +56 -48 fptools/ghc/compiler/utils/StringBuffer.lhs
1.35 +2 -1 fptools/ghc/compiler/utils/UniqFM.lhs
1.58 +22 -26 fptools/ghc/compiler/utils/Util.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc