[project @ 2000-04-13 11:56:35 by simonpj]
Add support for 'packages'. * A package is a group of modules. * A package has a name (e.g. std) * A package is built into a single library (Unix; e.g. libHSstd.a) or a single DLL (Windows; e.g. HSstd.dll) * The '-package-name foo' flag tells GHC that the module being compiled is destined for package foo. * The '-package foo' flag tells GHC to make available modules from package 'foo'. It replaces '-syslib foo' which is now deprecated. * Cross-package references cost an extra indirection in Windows, but not Unix * GHC does not maintain detailed cross-package dependency information. It does remember which modules in other packages the current module depends on, but not which things within those imported things. All of this tidies up the Prelude enormously. The Prelude and Standard Libraries are built into a singl package called 'std'. (This is a change; the library is now called libHSstd.a instead of libHS.a)
Showing
- ghc/compiler/absCSyn/CLabel.lhs 8 additions, 9 deletionsghc/compiler/absCSyn/CLabel.lhs
- ghc/compiler/absCSyn/PprAbsC.lhs 2 additions, 4 deletionsghc/compiler/absCSyn/PprAbsC.lhs
- ghc/compiler/basicTypes/DataCon.lhs 2 additions, 5 deletionsghc/compiler/basicTypes/DataCon.lhs
- ghc/compiler/basicTypes/Module.lhs 48 additions, 105 deletionsghc/compiler/basicTypes/Module.lhs
- ghc/compiler/basicTypes/Name.lhs 8 additions, 7 deletionsghc/compiler/basicTypes/Name.lhs
- ghc/compiler/codeGen/CgCon.lhs 2 additions, 3 deletionsghc/compiler/codeGen/CgCon.lhs
- ghc/compiler/hsSyn/HsExpr.lhs 1 addition, 1 deletionghc/compiler/hsSyn/HsExpr.lhs
- ghc/compiler/main/CmdLineOpts.lhs 10 additions, 9 deletionsghc/compiler/main/CmdLineOpts.lhs
- ghc/compiler/main/MkIface.lhs 3 additions, 2 deletionsghc/compiler/main/MkIface.lhs
- ghc/compiler/rename/ParseIface.y 26 additions, 24 deletionsghc/compiler/rename/ParseIface.y
- ghc/compiler/rename/Rename.lhs 2 additions, 2 deletionsghc/compiler/rename/Rename.lhs
- ghc/compiler/rename/RnEnv.lhs 2 additions, 3 deletionsghc/compiler/rename/RnEnv.lhs
- ghc/compiler/rename/RnIfaces.lhs 117 additions, 101 deletionsghc/compiler/rename/RnIfaces.lhs
- ghc/compiler/rename/RnMonad.lhs 4 additions, 10 deletionsghc/compiler/rename/RnMonad.lhs
- ghc/compiler/stgSyn/CoreToStg.lhs 3 additions, 7 deletionsghc/compiler/stgSyn/CoreToStg.lhs
- ghc/compiler/stgSyn/StgSyn.lhs 13 additions, 7 deletionsghc/compiler/stgSyn/StgSyn.lhs
- ghc/driver/ghc-iface.lprl 6 additions, 5 deletionsghc/driver/ghc-iface.lprl
- ghc/driver/ghc.lprl 13 additions, 2 deletionsghc/driver/ghc.lprl
- ghc/lib/std/Makefile 11 additions, 9 deletionsghc/lib/std/Makefile
- ghc/lib/std/PrelBase.lhs 3 additions, 0 deletionsghc/lib/std/PrelBase.lhs
Loading
Please register or sign in to comment