cvs commit: fptools/ghc configure.ac fptools/ghc/compiler Makefile fptools/ghc/compiler/basicTypes Module.hi-boot-5 Module.hi-boot-6 Module.lhs Name.lhs RdrName.lhs fptools/ghc/compiler/cmm CLabel.hs CmmParse.y fptools/ghc/compiler/codeGen CgBindery.lhs CgCase.lhs ...

Simon Marlow simonmar at haskell.org
Fri Nov 26 11:22:13 EST 2004


simonmar    2004/11/26 08:22:13 PST

  Modified files:
    ghc                  configure.ac 
    ghc/compiler         Makefile 
    ghc/compiler/basicTypes Module.hi-boot-5 Module.hi-boot-6 
                            Module.lhs Name.lhs RdrName.lhs 
    ghc/compiler/cmm     CLabel.hs CmmParse.y 
    ghc/compiler/codeGen CgBindery.lhs CgCase.lhs CgClosure.lhs 
                         CgCon.lhs CgExpr.lhs CgHeapery.lhs 
                         CgMonad.lhs CgProf.hs CgTailCall.lhs 
                         CgUtils.hs ClosureInfo.lhs CodeGen.lhs 
    ghc/compiler/compMan CompManager.lhs 
    ghc/compiler/coreSyn CoreUtils.lhs MkExternalCore.lhs 
    ghc/compiler/deSugar Desugar.lhs DsMeta.hs 
    ghc/compiler/ghci    InteractiveUI.hs Linker.lhs 
    ghc/compiler/hsSyn   Convert.lhs HsImpExp.lhs 
    ghc/compiler/iface   BinIface.hs IfaceEnv.lhs IfaceSyn.lhs 
                         IfaceType.lhs LoadIface.lhs MkIface.lhs 
                         TcIface.lhs 
    ghc/compiler/main    CmdLineOpts.lhs CodeOutput.lhs 
                         DriverFlags.hs DriverMkDepend.hs 
                         DriverPipeline.hs DriverState.hs 
                         Finder.lhs GetImports.hs HscTypes.lhs 
                         Main.hs Packages.lhs ParsePkgConf.y 
                         SysTools.lhs TidyPgm.lhs 
    ghc/compiler/parser  Parser.y.pp ParserCore.y RdrHsSyn.lhs 
    ghc/compiler/prelude PrelNames.lhs 
    ghc/compiler/profiling CostCentre.lhs SCCfinal.lhs 
    ghc/compiler/rename  RnEnv.lhs RnNames.lhs 
    ghc/compiler/simplCore SimplCore.lhs 
    ghc/compiler/simplStg SimplStg.lhs 
    ghc/compiler/stgSyn  CoreToStg.lhs StgSyn.lhs 
    ghc/compiler/typecheck Inst.lhs TcGenDeriv.lhs TcRnDriver.lhs 
                           TcRnMonad.lhs TcRnTypes.lhs 
                           TcSplice.lhs 
    ghc/compiler/types   Generics.lhs 
    ghc/compiler/utils   Outputable.lhs 
    ghc/lib/compat       Makefile 
    ghc/rts              package.conf.in 
    ghc/utils/ghc-pkg    Main.hs 
    hslibs/concurrent    Makefile package.conf.in 
    hslibs/data          Makefile package.conf.in 
    hslibs/hssource      Makefile package.conf.in 
    hslibs/lang          Makefile package.conf.in 
    hslibs/net           Makefile package.conf.in 
    hslibs/object-io     makefile 
    hslibs/posix         Makefile package.conf.in 
    hslibs/text          Makefile package.conf.in 
    hslibs/util          Makefile package.conf.in 
    hslibs/win32         Makefile package.conf.in 
    hslibs/xlib          Makefile 
    libraries/Cabal      Makefile package.conf.in 
    libraries/Cabal/Distribution Setup.hs 
    libraries/Cabal/Distribution/Compat Exception.hs 
    libraries/Cabal/Distribution/Simple Configure.hs Utils.hs 
    libraries/GLUT       Makefile package.conf.in 
    libraries/HGL        Makefile configure.ac package.conf.in 
    libraries/HUnit      Makefile package.conf.in 
    libraries/ObjectIO   Makefile package.conf.in 
    libraries/OpenAL     Makefile package.conf.in 
    libraries/OpenGL     Makefile package.conf.in 
    libraries/QuickCheck Makefile package.conf.in 
    libraries/Win32      Makefile package.conf.in 
    libraries/X11        Makefile package.conf.in 
    libraries/base       Makefile package.conf.in 
    libraries/fgl        Makefile package.conf.in 
    libraries/haskell-src Makefile package.conf.in 
    libraries/haskell98  Makefile package.conf.in 
    libraries/mtl        Makefile package.conf.in 
    libraries/network    Makefile package.conf.in 
    libraries/parsec     Makefile package.conf.in 
    libraries/readline   Makefile package.conf.in 
    libraries/template-haskell Makefile package.conf.in 
    libraries/unix       Makefile package.conf.in 
    mk                   package.mk 
  Removed files:
    ghc/utils/ghc-pkg    Package.hs ParsePkgConfLite.y 
  Log:
  Further integration with the new package story.  GHC now supports
  pretty much everything in the package proposal.
  
    - GHC now works in terms of PackageIds (<pkg>-<version>) rather than
      just package names.  You can still specify package names without
      versions on the command line, as long as the name is unambiguous.
  
    - GHC understands hidden/exposed modules in a package, and will refuse
      to import a hidden module.  Also, the hidden/eposed status of packages
      is taken into account.
  
    - I had to remove the old package syntax from ghc-pkg, backwards
      compatibility isn't really practical.
  
    - All the package.conf.in files have been rewritten in the new syntax,
      and contain a complete list of modules in the package.  I've set all
      the versions to 1.0 for now - please check your package(s) and fix the
      version number & other info appropriately.
  
    - New options:
  
  	-hide-package P    sets the expose flag on package P to False
  	-ignore-package P  unregisters P for this compilation
  
  	For comparison, -package P sets the expose flag on package P
          to True, and also causes P to be linked in eagerly.
  
          -package-name is no longer officially supported.  Unofficially, it's
  	a synonym for -ignore-package, which has more or less the same effect
  	as -package-name used to.
  
  	Note that a package may be hidden and yet still be linked into
  	the program, by virtue of being a dependency of some other package.
  	To completely remove a package from the compiler's internal database,
          use -ignore-package.
  
  	The compiler will complain if any two packages in the
          transitive closure of exposed packages contain the same
          module.
  
  	You *must* use -ignore-package P when compiling modules for
          package P, if package P (or an older version of P) is already
          registered.  The compiler will helpfully complain if you don't.
  	The fptools build system does this.
  
     - Note: the Cabal library won't work yet.  It still thinks GHC uses
       the old package config syntax.
  
  Internal changes/cleanups:
  
     - The ModuleName type has gone away.  Modules are now just (a
       newtype of) FastStrings, and don't contain any package information.
       All the package-related knowledge is in DynFlags, which is passed
       down to where it is needed.
  
     - DynFlags manipulation has been cleaned up somewhat: there are no
       global variables holding DynFlags any more, instead the DynFlags
       are passed around properly.
  
     - There are a few less global variables in GHC.  Lots more are
       scheduled for removal.
  
     - -i is now a dynamic flag, as are all the package-related flags (but
       using them in {-# OPTIONS #-} is Officially Not Recommended).
  
     - make -j now appears to work under fptools/libraries/.  Probably
       wouldn't take much to get it working for a whole build.
  
  Revision  Changes    Path
  1.16      +1 -1      fptools/ghc/configure.ac
  1.273     +1 -0      fptools/ghc/compiler/Makefile
  1.3       +2 -2      fptools/ghc/compiler/basicTypes/Module.hi-boot-5
  1.4       +1 -1      fptools/ghc/compiler/basicTypes/Module.hi-boot-6
  1.57      +34 -200   fptools/ghc/compiler/basicTypes/Module.lhs
  1.115     +8 -22     fptools/ghc/compiler/basicTypes/Name.lhs
  1.35      +16 -16    fptools/ghc/compiler/basicTypes/RdrName.lhs
  1.9       +135 -64   fptools/ghc/compiler/cmm/CLabel.hs
  1.5       +3 -3      fptools/ghc/compiler/cmm/CmmParse.y
  1.54      +7 -4      fptools/ghc/compiler/codeGen/CgBindery.lhs
  1.72      +3 -2      fptools/ghc/compiler/codeGen/CgCase.lhs
  1.65      +4 -5      fptools/ghc/compiler/codeGen/CgClosure.lhs
  1.49      +58 -39    fptools/ghc/compiler/codeGen/CgCon.lhs
  1.61      +14 -10    fptools/ghc/compiler/codeGen/CgExpr.lhs
  1.42      +6 -4      fptools/ghc/compiler/codeGen/CgHeapery.lhs
  1.42      +17 -9     fptools/ghc/compiler/codeGen/CgMonad.lhs
  1.5       +2 -2      fptools/ghc/compiler/codeGen/CgProf.hs
  1.41      +3 -2      fptools/ghc/compiler/codeGen/CgTailCall.lhs
  1.9       +6 -4      fptools/ghc/compiler/codeGen/CgUtils.hs
  1.66      +43 -36    fptools/ghc/compiler/codeGen/ClosureInfo.lhs
  1.62      +40 -39    fptools/ghc/compiler/codeGen/CodeGen.lhs
  1.154     +104 -105  fptools/ghc/compiler/compMan/CompManager.lhs
  1.127     +29 -27    fptools/ghc/compiler/coreSyn/CoreUtils.lhs
  1.29      +1 -1      fptools/ghc/compiler/coreSyn/MkExternalCore.lhs
  1.79      +12 -9     fptools/ghc/compiler/deSugar/Desugar.lhs
  1.67      +3 -8      fptools/ghc/compiler/deSugar/DsMeta.hs
  1.180     +30 -37    fptools/ghc/compiler/ghci/InteractiveUI.hs
  1.46      +56 -53    fptools/ghc/compiler/ghci/Linker.lhs
  1.57      +4 -4      fptools/ghc/compiler/hsSyn/Convert.lhs
  1.24      +4 -4      fptools/ghc/compiler/hsSyn/HsImpExp.lhs
  1.8       +4 -11     fptools/ghc/compiler/iface/BinIface.hs
  1.10      +17 -26    fptools/ghc/compiler/iface/IfaceEnv.lhs
  1.15      +6 -6      fptools/ghc/compiler/iface/IfaceSyn.lhs
  1.10      +6 -6      fptools/ghc/compiler/iface/IfaceType.lhs
  1.20      +94 -67    fptools/ghc/compiler/iface/LoadIface.lhs
  1.20      +43 -36    fptools/ghc/compiler/iface/MkIface.lhs
  1.26      +7 -7      fptools/ghc/compiler/iface/TcIface.lhs
  1.192     +38 -91    fptools/ghc/compiler/main/CmdLineOpts.lhs
  1.54      +7 -4      fptools/ghc/compiler/main/CodeOutput.lhs
  1.141     +94 -31    fptools/ghc/compiler/main/DriverFlags.hs
  1.34      +21 -30    fptools/ghc/compiler/main/DriverMkDepend.hs
  1.173     +166 -145  fptools/ghc/compiler/main/DriverPipeline.hs
  1.110     +1 -189    fptools/ghc/compiler/main/DriverState.hs
  1.72      +146 -104  fptools/ghc/compiler/main/Finder.lhs
  1.11      +5 -5      fptools/ghc/compiler/main/GetImports.hs
  1.119     +24 -33    fptools/ghc/compiler/main/HscTypes.lhs
  1.141     +71 -84    fptools/ghc/compiler/main/Main.hs
  1.16      +500 -76   fptools/ghc/compiler/main/Packages.lhs
  1.19      +1 -1      fptools/ghc/compiler/main/ParsePkgConf.y
  1.123     +82 -68    fptools/ghc/compiler/main/SysTools.lhs
  1.18      +17 -15    fptools/ghc/compiler/main/TidyPgm.lhs
  1.18      +5 -7      fptools/ghc/compiler/parser/Parser.y.pp
  1.21      +5 -6      fptools/ghc/compiler/parser/ParserCore.y
  1.79      +6 -5      fptools/ghc/compiler/parser/RdrHsSyn.lhs
  1.93      +107 -142  fptools/ghc/compiler/prelude/PrelNames.lhs
  1.42      +7 -7      fptools/ghc/compiler/profiling/CostCentre.lhs
  1.38      +5 -4      fptools/ghc/compiler/profiling/SCCfinal.lhs
  1.183     +10 -11    fptools/ghc/compiler/rename/RnEnv.lhs
  1.178     +49 -49    fptools/ghc/compiler/rename/RnNames.lhs
  1.125     +1 -1      fptools/ghc/compiler/simplCore/SimplCore.lhs
  1.44      +1 -1      fptools/ghc/compiler/simplStg/SimplStg.lhs
  1.113     +17 -14    fptools/ghc/compiler/stgSyn/CoreToStg.lhs
  1.46      +9 -8      fptools/ghc/compiler/stgSyn/StgSyn.lhs
  1.142     +10 -8     fptools/ghc/compiler/typecheck/Inst.lhs
  1.114     +10 -10    fptools/ghc/compiler/typecheck/TcGenDeriv.lhs
  1.86      +37 -17    fptools/ghc/compiler/typecheck/TcRnDriver.lhs
  1.40      +5 -6      fptools/ghc/compiler/typecheck/TcRnMonad.lhs
  1.45      +14 -13    fptools/ghc/compiler/typecheck/TcRnTypes.lhs
  1.45      +2 -2      fptools/ghc/compiler/typecheck/TcSplice.lhs
  1.36      +2 -2      fptools/ghc/compiler/types/Generics.lhs
  1.62      +2 -2      fptools/ghc/compiler/utils/Outputable.lhs
  1.8       +14 -1     fptools/ghc/lib/compat/Makefile
  1.8       +39 -30    fptools/ghc/rts/package.conf.in
  1.50      +70 -72    fptools/ghc/utils/ghc-pkg/Main.hs
  1.11      +2 -1      fptools/hslibs/concurrent/Makefile
  1.3       +39 -22    fptools/hslibs/concurrent/package.conf.in
  1.11      +2 -1      fptools/hslibs/data/Makefile
  1.3       +63 -23    fptools/hslibs/data/package.conf.in
  1.13      +2 -1      fptools/hslibs/hssource/Makefile
  1.2       +32 -22    fptools/hslibs/hssource/package.conf.in
  1.22      +2 -1      fptools/hslibs/lang/Makefile
  1.4       +76 -19    fptools/hslibs/lang/package.conf.in
  1.27      +2 -1      fptools/hslibs/net/Makefile
  1.2       +32 -22    fptools/hslibs/net/package.conf.in
  1.8       +1 -0      fptools/hslibs/object-io/makefile
  1.33      +2 -1      fptools/hslibs/posix/Makefile
  1.3       +44 -26    fptools/hslibs/posix/package.conf.in
  1.23      +2 -1      fptools/hslibs/text/Makefile
  1.5       +41 -21    fptools/hslibs/text/package.conf.in
  1.34      +1 -0      fptools/hslibs/util/Makefile
  1.5       +47 -25    fptools/hslibs/util/package.conf.in
  1.26      +1 -0      fptools/hslibs/win32/Makefile
  1.3       +56 -23    fptools/hslibs/win32/package.conf.in
  1.8       +2 -1      fptools/hslibs/xlib/Makefile
  1.4       +1 -0      fptools/libraries/Cabal/Makefile
  1.3       +49 -23    fptools/libraries/Cabal/package.conf.in
  1.2       +2 -0      fptools/libraries/Cabal/Distribution/Setup.hs
  1.2       +5 -2      fptools/libraries/Cabal/Distribution/Compat/Exception.hs
  1.3       +21 -5     fptools/libraries/Cabal/Distribution/Simple/Configure.hs
  1.3       +36 -3     fptools/libraries/Cabal/Distribution/Simple/Utils.hs
  1.25      +1 -0      fptools/libraries/GLUT/Makefile
  1.8       +52 -23    fptools/libraries/GLUT/package.conf.in
  1.13      +2 -1      fptools/libraries/HGL/Makefile
  1.2       +1 -1      fptools/libraries/HGL/configure.ac
  1.9       +56 -23    fptools/libraries/HGL/package.conf.in
  1.2       +1 -0      fptools/libraries/HUnit/Makefile
  1.4       +31 -24    fptools/libraries/HUnit/package.conf.in
  1.3       +1 -0      fptools/libraries/ObjectIO/Makefile
  1.4       +147 -35   fptools/libraries/ObjectIO/package.conf.in
  1.4       +1 -0      fptools/libraries/OpenAL/Makefile
  1.3       +48 -25    fptools/libraries/OpenAL/package.conf.in
  1.35      +1 -0      fptools/libraries/OpenGL/Makefile
  1.9       +112 -23   fptools/libraries/OpenGL/package.conf.in
  1.5       +1 -0      fptools/libraries/QuickCheck/Makefile
  1.2       +34 -23    fptools/libraries/QuickCheck/package.conf.in
  1.13      +2 -1      fptools/libraries/Win32/Makefile
  1.11      +68 -28    fptools/libraries/Win32/package.conf.in
  1.18      +2 -1      fptools/libraries/X11/Makefile
  1.13      +46 -19    fptools/libraries/X11/package.conf.in
  1.59      +1 -0      fptools/libraries/base/Makefile
  1.6       +185 -31   fptools/libraries/base/package.conf.in
  1.2       +1 -0      fptools/libraries/fgl/Makefile
  1.5       +54 -24    fptools/libraries/fgl/package.conf.in
  1.15      +1 -0      fptools/libraries/haskell-src/Makefile
  1.4       +32 -23    fptools/libraries/haskell-src/package.conf.in
  1.8       +2 -1      fptools/libraries/haskell98/Makefile
  1.4       +56 -23    fptools/libraries/haskell98/package.conf.in
  1.2       +1 -0      fptools/libraries/mtl/Makefile
  1.2       +34 -23    fptools/libraries/mtl/package.conf.in
  1.21      +2 -1      fptools/libraries/network/Makefile
  1.5       +36 -26    fptools/libraries/network/package.conf.in
  1.6       +1 -0      fptools/libraries/parsec/Makefile
  1.2       +36 -23    fptools/libraries/parsec/package.conf.in
  1.10      +1 -0      fptools/libraries/readline/Makefile
  1.3       +33 -26    fptools/libraries/readline/package.conf.in
  1.2       +2 -1      fptools/libraries/template-haskell/Makefile
  1.4       +30 -23    fptools/libraries/template-haskell/package.conf.in
  1.13      +1 -0      fptools/libraries/unix/Makefile
  1.5       +51 -26    fptools/libraries/unix/package.conf.in
  1.42      +23 -9     fptools/mk/package.mk


More information about the Cvs-libraries mailing list