Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jberryman
GHC
Commits
1fb1ab5d
Commit
1fb1ab5d
authored
Mar 14, 1997
by
simonpj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 1997-03-14 07:52:06 by simonpj]
Major update to more-or-less 2.02
parent
fa6fb09e
Changes
319
Hide whitespace changes
Inline
Side-by-side
Showing
319 changed files
with
14097 additions
and
25084 deletions
+14097
-25084
ANNOUNCE-2.02
ANNOUNCE-2.02
+177
-0
Makefile
Makefile
+87
-18
configure.in
configure.in
+113
-1412
distrib/Makefile-bin.in
distrib/Makefile-bin.in
+137
-0
distrib/configure-bin.in
distrib/configure-bin.in
+133
-0
docs/Makefile
docs/Makefile
+8
-0
docs/installing.lit
docs/installing.lit
+1730
-0
ghc/CONTRIB/README
ghc/CONTRIB/README
+0
-19
ghc/CONTRIB/fptags
ghc/CONTRIB/fptags
+0
-53
ghc/CONTRIB/haskel.gif
ghc/CONTRIB/haskel.gif
+0
-0
ghc/CONTRIB/haskell-modes/README
ghc/CONTRIB/haskell-modes/README
+0
-55
ghc/CONTRIB/haskell-modes/chalmers/original/haskell-mode.el
ghc/CONTRIB/haskell-modes/chalmers/original/haskell-mode.el
+0
-543
ghc/CONTRIB/haskell-modes/chalmers/sof/haskell-mode.el
ghc/CONTRIB/haskell-modes/chalmers/sof/haskell-mode.el
+0
-825
ghc/CONTRIB/haskell-modes/chalmers/thiemann/haskell-mode.el
ghc/CONTRIB/haskell-modes/chalmers/thiemann/haskell-mode.el
+0
-764
ghc/CONTRIB/haskell-modes/glasgow/original/haskell-mode.el
ghc/CONTRIB/haskell-modes/glasgow/original/haskell-mode.el
+0
-1935
ghc/CONTRIB/haskell-modes/glasgow/original/manual.dvi
ghc/CONTRIB/haskell-modes/glasgow/original/manual.dvi
+0
-0
ghc/CONTRIB/haskell-modes/glasgow/original/report.dvi
ghc/CONTRIB/haskell-modes/glasgow/original/report.dvi
+0
-0
ghc/CONTRIB/haskell-modes/simonm/ghc/haskell.el
ghc/CONTRIB/haskell-modes/simonm/ghc/haskell.el
+0
-185
ghc/CONTRIB/haskell-modes/simonm/real/haskell.el
ghc/CONTRIB/haskell-modes/simonm/real/haskell.el
+0
-202
ghc/CONTRIB/haskell-modes/yale/chak/haskell.el
ghc/CONTRIB/haskell-modes/yale/chak/haskell.el
+0
-1866
ghc/CONTRIB/haskell-modes/yale/original/README
ghc/CONTRIB/haskell-modes/yale/original/README
+0
-5
ghc/CONTRIB/haskell-modes/yale/original/comint.el
ghc/CONTRIB/haskell-modes/yale/original/comint.el
+0
-1524
ghc/CONTRIB/haskell-modes/yale/original/haskell-menu.el
ghc/CONTRIB/haskell-modes/yale/original/haskell-menu.el
+0
-43
ghc/CONTRIB/haskell-modes/yale/original/haskell.el
ghc/CONTRIB/haskell-modes/yale/original/haskell.el
+0
-1710
ghc/CONTRIB/haskell-modes/yale/original/optimizer-help.txt
ghc/CONTRIB/haskell-modes/yale/original/optimizer-help.txt
+0
-6
ghc/CONTRIB/haskell-modes/yale/original/printer-help.txt
ghc/CONTRIB/haskell-modes/yale/original/printer-help.txt
+0
-26
ghc/CONTRIB/haskell_poem
ghc/CONTRIB/haskell_poem
+0
-58
ghc/CONTRIB/mira2hs
ghc/CONTRIB/mira2hs
+0
-364
ghc/CONTRIB/pphs/Jmakefile
ghc/CONTRIB/pphs/Jmakefile
+0
-16
ghc/CONTRIB/pphs/README
ghc/CONTRIB/pphs/README
+0
-18
ghc/CONTRIB/pphs/docs/Code.tex
ghc/CONTRIB/pphs/docs/Code.tex
+0
-53
ghc/CONTRIB/pphs/docs/Error_Messages.tex
ghc/CONTRIB/pphs/docs/Error_Messages.tex
+0
-36
ghc/CONTRIB/pphs/docs/External_Specification.tex
ghc/CONTRIB/pphs/docs/External_Specification.tex
+0
-117
ghc/CONTRIB/pphs/docs/Faults.tex
ghc/CONTRIB/pphs/docs/Faults.tex
+0
-66
ghc/CONTRIB/pphs/docs/Future_Work.tex
ghc/CONTRIB/pphs/docs/Future_Work.tex
+0
-30
ghc/CONTRIB/pphs/docs/Haskell_char.tex
ghc/CONTRIB/pphs/docs/Haskell_char.tex
+0
-7
ghc/CONTRIB/pphs/docs/Haskell_internalalign1.tex
ghc/CONTRIB/pphs/docs/Haskell_internalalign1.tex
+0
-12
ghc/CONTRIB/pphs/docs/Haskell_internalalign2.tex
ghc/CONTRIB/pphs/docs/Haskell_internalalign2.tex
+0
-4
ghc/CONTRIB/pphs/docs/Haskell_leftindent1.tex
ghc/CONTRIB/pphs/docs/Haskell_leftindent1.tex
+0
-7
ghc/CONTRIB/pphs/docs/Haskell_leftindent2.tex
ghc/CONTRIB/pphs/docs/Haskell_leftindent2.tex
+0
-9
ghc/CONTRIB/pphs/docs/Haskell_math.tex
ghc/CONTRIB/pphs/docs/Haskell_math.tex
+0
-5
ghc/CONTRIB/pphs/docs/Haskell_simple.tex
ghc/CONTRIB/pphs/docs/Haskell_simple.tex
+0
-5
ghc/CONTRIB/pphs/docs/Haskell_string1.tex
ghc/CONTRIB/pphs/docs/Haskell_string1.tex
+0
-8
ghc/CONTRIB/pphs/docs/Haskell_typewriter.tex
ghc/CONTRIB/pphs/docs/Haskell_typewriter.tex
+0
-7
ghc/CONTRIB/pphs/docs/How.tex
ghc/CONTRIB/pphs/docs/How.tex
+0
-465
ghc/CONTRIB/pphs/docs/Introduction.tex
ghc/CONTRIB/pphs/docs/Introduction.tex
+0
-137
ghc/CONTRIB/pphs/docs/LaTeX-code_simple.tex
ghc/CONTRIB/pphs/docs/LaTeX-code_simple.tex
+0
-12
ghc/CONTRIB/pphs/docs/LaTeX_blankline.tex
ghc/CONTRIB/pphs/docs/LaTeX_blankline.tex
+0
-6
ghc/CONTRIB/pphs/docs/LaTeX_char.tex
ghc/CONTRIB/pphs/docs/LaTeX_char.tex
+0
-9
ghc/CONTRIB/pphs/docs/LaTeX_comment.tex
ghc/CONTRIB/pphs/docs/LaTeX_comment.tex
+0
-3
ghc/CONTRIB/pphs/docs/LaTeX_internalalign1.tex
ghc/CONTRIB/pphs/docs/LaTeX_internalalign1.tex
+0
-13
ghc/CONTRIB/pphs/docs/LaTeX_leftindent1.tex
ghc/CONTRIB/pphs/docs/LaTeX_leftindent1.tex
+0
-8
ghc/CONTRIB/pphs/docs/LaTeX_leftindent2.tex
ghc/CONTRIB/pphs/docs/LaTeX_leftindent2.tex
+0
-8
ghc/CONTRIB/pphs/docs/LaTeX_math.tex
ghc/CONTRIB/pphs/docs/LaTeX_math.tex
+0
-7
ghc/CONTRIB/pphs/docs/LaTeX_simple.tex
ghc/CONTRIB/pphs/docs/LaTeX_simple.tex
+0
-5
ghc/CONTRIB/pphs/docs/LaTeX_string1.tex
ghc/CONTRIB/pphs/docs/LaTeX_string1.tex
+0
-10
ghc/CONTRIB/pphs/docs/LaTeX_string2.tex
ghc/CONTRIB/pphs/docs/LaTeX_string2.tex
+0
-10
ghc/CONTRIB/pphs/docs/LaTeX_wide-colons.tex
ghc/CONTRIB/pphs/docs/LaTeX_wide-colons.tex
+0
-9
ghc/CONTRIB/pphs/docs/Problem_Definition.tex
ghc/CONTRIB/pphs/docs/Problem_Definition.tex
+0
-37
ghc/CONTRIB/pphs/docs/Project_Documents.tex
ghc/CONTRIB/pphs/docs/Project_Documents.tex
+0
-7
ghc/CONTRIB/pphs/docs/Report.tex
ghc/CONTRIB/pphs/docs/Report.tex
+0
-49
ghc/CONTRIB/pphs/docs/Statement_Of_Requirements.tex
ghc/CONTRIB/pphs/docs/Statement_Of_Requirements.tex
+0
-32
ghc/CONTRIB/pphs/docs/Title.tex
ghc/CONTRIB/pphs/docs/Title.tex
+0
-0
ghc/CONTRIB/pphs/docs/UserGuide.tex
ghc/CONTRIB/pphs/docs/UserGuide.tex
+0
-9
ghc/CONTRIB/pphs/docs/UserGuide_Text.tex
ghc/CONTRIB/pphs/docs/UserGuide_Text.tex
+0
-231
ghc/CONTRIB/pphs/docs/User_Documents.tex
ghc/CONTRIB/pphs/docs/User_Documents.tex
+0
-5
ghc/CONTRIB/pphs/docs/Uses.tex
ghc/CONTRIB/pphs/docs/Uses.tex
+0
-262
ghc/CONTRIB/pphs/docs/What.tex
ghc/CONTRIB/pphs/docs/What.tex
+0
-136
ghc/CONTRIB/pphs/docs/Wrapper.tex
ghc/CONTRIB/pphs/docs/Wrapper.tex
+0
-6
ghc/CONTRIB/pphs/docs/char.hs
ghc/CONTRIB/pphs/docs/char.hs
+0
-5
ghc/CONTRIB/pphs/docs/comment.hs
ghc/CONTRIB/pphs/docs/comment.hs
+0
-1
ghc/CONTRIB/pphs/docs/internalalign1.hs
ghc/CONTRIB/pphs/docs/internalalign1.hs
+0
-9
ghc/CONTRIB/pphs/docs/leftindent1.hs
ghc/CONTRIB/pphs/docs/leftindent1.hs
+0
-4
ghc/CONTRIB/pphs/docs/leftindent2.hs
ghc/CONTRIB/pphs/docs/leftindent2.hs
+0
-6
ghc/CONTRIB/pphs/docs/math.hs
ghc/CONTRIB/pphs/docs/math.hs
+0
-3
ghc/CONTRIB/pphs/docs/pphs.sty
ghc/CONTRIB/pphs/docs/pphs.sty
+0
-26
ghc/CONTRIB/pphs/docs/rep.sty
ghc/CONTRIB/pphs/docs/rep.sty
+0
-80
ghc/CONTRIB/pphs/docs/simple.hs
ghc/CONTRIB/pphs/docs/simple.hs
+0
-3
ghc/CONTRIB/pphs/docs/string1.hs
ghc/CONTRIB/pphs/docs/string1.hs
+0
-6
ghc/CONTRIB/pphs/docs/string2.hs
ghc/CONTRIB/pphs/docs/string2.hs
+0
-8
ghc/CONTRIB/pphs/pphs.c
ghc/CONTRIB/pphs/pphs.c
+0
-1030
ghc/Makefile
ghc/Makefile
+42
-50
ghc/compiler/HsVersions.h
ghc/compiler/HsVersions.h
+17
-15
ghc/compiler/Makefile
ghc/compiler/Makefile
+267
-182
ghc/compiler/NOTES
ghc/compiler/NOTES
+129
-0
ghc/compiler/absCSyn/CLabel.lhs
ghc/compiler/absCSyn/CLabel.lhs
+2
-2
ghc/compiler/absCSyn/Costs.lhs
ghc/compiler/absCSyn/Costs.lhs
+2
-1
ghc/compiler/absCSyn/HeapOffs.lhs
ghc/compiler/absCSyn/HeapOffs.lhs
+1
-1
ghc/compiler/absCSyn/PprAbsC.lhs
ghc/compiler/absCSyn/PprAbsC.lhs
+40
-34
ghc/compiler/basicTypes/Id.hi-boot
ghc/compiler/basicTypes/Id.hi-boot
+8
-0
ghc/compiler/basicTypes/Id.lhs
ghc/compiler/basicTypes/Id.lhs
+5
-7
ghc/compiler/basicTypes/IdLoop.lhi
ghc/compiler/basicTypes/IdLoop.lhi
+21
-6
ghc/compiler/basicTypes/Literal.lhs
ghc/compiler/basicTypes/Literal.lhs
+8
-8
ghc/compiler/basicTypes/Name.lhs
ghc/compiler/basicTypes/Name.lhs
+29
-11
ghc/compiler/basicTypes/SrcLoc.lhs
ghc/compiler/basicTypes/SrcLoc.lhs
+9
-4
ghc/compiler/basicTypes/UniqSupply.lhs
ghc/compiler/basicTypes/UniqSupply.lhs
+3
-3
ghc/compiler/basicTypes/Unique.lhs
ghc/compiler/basicTypes/Unique.lhs
+7
-0
ghc/compiler/codeGen/CgClosure.lhs
ghc/compiler/codeGen/CgClosure.lhs
+2
-3
ghc/compiler/codeGen/CgMonad.lhs
ghc/compiler/codeGen/CgMonad.lhs
+5
-5
ghc/compiler/codeGen/CodeGen.lhs
ghc/compiler/codeGen/CodeGen.lhs
+2
-5
ghc/compiler/coreSyn/CoreLint.lhs
ghc/compiler/coreSyn/CoreLint.lhs
+33
-35
ghc/compiler/coreSyn/CoreSyn.lhs
ghc/compiler/coreSyn/CoreSyn.lhs
+8
-4
ghc/compiler/coreSyn/CoreUnfold.lhs
ghc/compiler/coreSyn/CoreUnfold.lhs
+32
-29
ghc/compiler/coreSyn/PprCore.lhs
ghc/compiler/coreSyn/PprCore.lhs
+43
-29
ghc/compiler/deSugar/Desugar.lhs
ghc/compiler/deSugar/Desugar.lhs
+46
-13
ghc/compiler/deSugar/DsBinds.lhs
ghc/compiler/deSugar/DsBinds.lhs
+44
-79
ghc/compiler/deSugar/DsExpr.lhs
ghc/compiler/deSugar/DsExpr.lhs
+89
-55
ghc/compiler/deSugar/DsGRHSs.lhs
ghc/compiler/deSugar/DsGRHSs.lhs
+4
-2
ghc/compiler/deSugar/DsHsSyn.lhs
ghc/compiler/deSugar/DsHsSyn.lhs
+1
-0
ghc/compiler/deSugar/DsListComp.lhs
ghc/compiler/deSugar/DsListComp.lhs
+65
-85
ghc/compiler/deSugar/DsLoop.lhi
ghc/compiler/deSugar/DsLoop.lhi
+1
-1
ghc/compiler/deSugar/DsMonad.lhs
ghc/compiler/deSugar/DsMonad.lhs
+35
-16
ghc/compiler/deSugar/DsUtils.lhs
ghc/compiler/deSugar/DsUtils.lhs
+10
-9
ghc/compiler/deSugar/Match.lhs
ghc/compiler/deSugar/Match.lhs
+44
-30
ghc/compiler/deSugar/MatchLit.lhs
ghc/compiler/deSugar/MatchLit.lhs
+54
-16
ghc/compiler/hsSyn/HsBasic.lhs
ghc/compiler/hsSyn/HsBasic.lhs
+3
-3
ghc/compiler/hsSyn/HsBinds.lhs
ghc/compiler/hsSyn/HsBinds.lhs
+39
-13
ghc/compiler/hsSyn/HsCore.lhs
ghc/compiler/hsSyn/HsCore.lhs
+18
-17
ghc/compiler/hsSyn/HsDecls.lhs
ghc/compiler/hsSyn/HsDecls.lhs
+24
-19
ghc/compiler/hsSyn/HsExpr.lhs
ghc/compiler/hsSyn/HsExpr.lhs
+47
-57
ghc/compiler/hsSyn/HsPat.lhs
ghc/compiler/hsSyn/HsPat.lhs
+25
-7
ghc/compiler/hsSyn/HsPragmas.lhs
ghc/compiler/hsSyn/HsPragmas.lhs
+16
-16
ghc/compiler/hsSyn/HsTypes.lhs
ghc/compiler/hsSyn/HsTypes.lhs
+4
-4
ghc/compiler/main/CmdLineOpts.lhs
ghc/compiler/main/CmdLineOpts.lhs
+8
-1
ghc/compiler/main/LoopHack.lhc
ghc/compiler/main/LoopHack.lhc
+52
-1
ghc/compiler/main/Main.lhs
ghc/compiler/main/Main.lhs
+17
-7
ghc/compiler/main/MkIface.lhs
ghc/compiler/main/MkIface.lhs
+35
-22
ghc/compiler/nativeGen/AsmCodeGen.lhs
ghc/compiler/nativeGen/AsmCodeGen.lhs
+1
-1
ghc/compiler/nativeGen/NCG.h
ghc/compiler/nativeGen/NCG.h
+1
-1
ghc/compiler/nativeGen/PprMach.lhs
ghc/compiler/nativeGen/PprMach.lhs
+5
-5
ghc/compiler/parser/UgenUtil.lhs
ghc/compiler/parser/UgenUtil.lhs
+3
-3
ghc/compiler/parser/hslexer.flex
ghc/compiler/parser/hslexer.flex
+20
-9
ghc/compiler/parser/hsparser.y
ghc/compiler/parser/hsparser.y
+65
-45
ghc/compiler/parser/id.c
ghc/compiler/parser/id.c
+1
-1
ghc/compiler/parser/main.c
ghc/compiler/parser/main.c
+1
-0
ghc/compiler/parser/syntax.c
ghc/compiler/parser/syntax.c
+22
-1
ghc/compiler/parser/tree.ugn
ghc/compiler/parser/tree.ugn
+2
-1
ghc/compiler/prelude/PrelInfo.lhs
ghc/compiler/prelude/PrelInfo.lhs
+11
-1
ghc/compiler/prelude/PrelLoop.lhi
ghc/compiler/prelude/PrelLoop.lhi
+2
-1
ghc/compiler/prelude/PrelMods.lhs
ghc/compiler/prelude/PrelMods.lhs
+43
-2
ghc/compiler/prelude/PrelVals.lhs
ghc/compiler/prelude/PrelVals.lhs
+1
-1
ghc/compiler/prelude/PrimOp.lhs
ghc/compiler/prelude/PrimOp.lhs
+6
-2
ghc/compiler/prelude/PrimRep.lhs
ghc/compiler/prelude/PrimRep.lhs
+53
-4
ghc/compiler/profiling/CostCentre.lhs
ghc/compiler/profiling/CostCentre.lhs
+14
-11
ghc/compiler/reader/Lex.lhs
ghc/compiler/reader/Lex.lhs
+543
-142
ghc/compiler/reader/PrefixToHs.lhs
ghc/compiler/reader/PrefixToHs.lhs
+1
-1
ghc/compiler/reader/RdrHsSyn.lhs
ghc/compiler/reader/RdrHsSyn.lhs
+12
-6
ghc/compiler/reader/ReadPrefix.lhs
ghc/compiler/reader/ReadPrefix.lhs
+14
-6
ghc/compiler/rename/ParseIface.y
ghc/compiler/rename/ParseIface.y
+66
-165
ghc/compiler/rename/ParseType.y
ghc/compiler/rename/ParseType.y
+140
-0
ghc/compiler/rename/ParseUnfolding.y
ghc/compiler/rename/ParseUnfolding.y
+344
-0
ghc/compiler/rename/Rename.lhs
ghc/compiler/rename/Rename.lhs
+45
-74
ghc/compiler/rename/RnBinds.lhs
ghc/compiler/rename/RnBinds.lhs
+21
-21
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnEnv.lhs
+172
-73
ghc/compiler/rename/RnExpr.lhs
ghc/compiler/rename/RnExpr.lhs
+63
-88
ghc/compiler/rename/RnHsSyn.lhs
ghc/compiler/rename/RnHsSyn.lhs
+0
-1
ghc/compiler/rename/RnIfaces.lhs
ghc/compiler/rename/RnIfaces.lhs
+314
-149
ghc/compiler/rename/RnMonad.lhs
ghc/compiler/rename/RnMonad.lhs
+84
-34
ghc/compiler/rename/RnNames.lhs
ghc/compiler/rename/RnNames.lhs
+70
-70
ghc/compiler/rename/RnSource.lhs
ghc/compiler/rename/RnSource.lhs
+59
-45
ghc/compiler/simplCore/BinderInfo.lhs
ghc/compiler/simplCore/BinderInfo.lhs
+52
-24
ghc/compiler/simplCore/FloatOut.lhs
ghc/compiler/simplCore/FloatOut.lhs
+4
-4
ghc/compiler/simplCore/OccurAnal.lhs
ghc/compiler/simplCore/OccurAnal.lhs
+50
-17
ghc/compiler/simplCore/SetLevels.lhs
ghc/compiler/simplCore/SetLevels.lhs
+2
-2
ghc/compiler/simplCore/SimplCore.lhs
ghc/compiler/simplCore/SimplCore.lhs
+41
-27
ghc/compiler/simplCore/SimplEnv.lhs
ghc/compiler/simplCore/SimplEnv.lhs
+41
-8
ghc/compiler/simplCore/SimplMonad.lhs
ghc/compiler/simplCore/SimplMonad.lhs
+23
-24
ghc/compiler/simplCore/SimplPgm.lhs
ghc/compiler/simplCore/SimplPgm.lhs
+11
-9
ghc/compiler/simplCore/SimplVar.lhs
ghc/compiler/simplCore/SimplVar.lhs
+7
-7
ghc/compiler/simplStg/LambdaLift.lhs
ghc/compiler/simplStg/LambdaLift.lhs
+20
-17
ghc/compiler/simplStg/SimplStg.lhs
ghc/compiler/simplStg/SimplStg.lhs
+175
-9
ghc/compiler/specialise/SpecEnv.lhs
ghc/compiler/specialise/SpecEnv.lhs
+5
-2
ghc/compiler/specialise/SpecUtils.lhs
ghc/compiler/specialise/SpecUtils.lhs
+23
-35
ghc/compiler/specialise/Specialise.lhs
ghc/compiler/specialise/Specialise.lhs
+105
-114
ghc/compiler/stgSyn/StgLint.lhs
ghc/compiler/stgSyn/StgLint.lhs
+21
-21
ghc/compiler/stgSyn/StgSyn.lhs
ghc/compiler/stgSyn/StgSyn.lhs
+34
-34
ghc/compiler/stranal/SaAbsInt.lhs
ghc/compiler/stranal/SaAbsInt.lhs
+4
-4
ghc/compiler/stranal/SaLib.lhs
ghc/compiler/stranal/SaLib.lhs
+8
-8
ghc/compiler/stranal/StrictAnal.lhs
ghc/compiler/stranal/StrictAnal.lhs
+4
-4
ghc/compiler/stranal/WwLib.lhs
ghc/compiler/stranal/WwLib.lhs
+1
-1
ghc/compiler/tests/Makefile
ghc/compiler/tests/Makefile
+3
-3
ghc/compiler/tests/deSugar/Makefile
ghc/compiler/tests/deSugar/Makefile
+8
-5
ghc/compiler/typecheck/GenSpecEtc.lhs
ghc/compiler/typecheck/GenSpecEtc.lhs
+0
-451
ghc/compiler/typecheck/Inst.lhs
ghc/compiler/typecheck/Inst.lhs
+18
-18
ghc/compiler/typecheck/TcBinds.lhs
ghc/compiler/typecheck/TcBinds.lhs
+421
-262
ghc/compiler/typecheck/TcClassDcl.lhs
ghc/compiler/typecheck/TcClassDcl.lhs
+76
-9
ghc/compiler/typecheck/TcDefaults.lhs
ghc/compiler/typecheck/TcDefaults.lhs
+3
-3
ghc/compiler/typecheck/TcDeriv.lhs
ghc/compiler/typecheck/TcDeriv.lhs
+6
-5
ghc/compiler/typecheck/TcEnv.lhs
ghc/compiler/typecheck/TcEnv.lhs
+18
-3
ghc/compiler/typecheck/TcExpr.lhs
ghc/compiler/typecheck/TcExpr.lhs
+95
-129
ghc/compiler/typecheck/TcGenDeriv.lhs
ghc/compiler/typecheck/TcGenDeriv.lhs
+41
-23
ghc/compiler/typecheck/TcHsSyn.lhs
ghc/compiler/typecheck/TcHsSyn.lhs
+29
-49
ghc/compiler/typecheck/TcIfaceSig.lhs
ghc/compiler/typecheck/TcIfaceSig.lhs
+35
-22
ghc/compiler/typecheck/TcInstDcls.lhs
ghc/compiler/typecheck/TcInstDcls.lhs
+35
-31
ghc/compiler/typecheck/TcInstUtil.lhs
ghc/compiler/typecheck/TcInstUtil.lhs
+10
-20
ghc/compiler/typecheck/TcKind.lhs
ghc/compiler/typecheck/TcKind.lhs
+14
-14
ghc/compiler/typecheck/TcMatches.lhs
ghc/compiler/typecheck/TcMatches.lhs
+3
-3
ghc/compiler/typecheck/TcModule.lhs
ghc/compiler/typecheck/TcModule.lhs
+6
-6
ghc/compiler/typecheck/TcMonad.lhs
ghc/compiler/typecheck/TcMonad.lhs
+17
-6
ghc/compiler/typecheck/TcMonoType.lhs
ghc/compiler/typecheck/TcMonoType.lhs
+1
-1
ghc/compiler/typecheck/TcPat.lhs
ghc/compiler/typecheck/TcPat.lhs
+32
-8
ghc/compiler/typecheck/TcSimplify.lhs
ghc/compiler/typecheck/TcSimplify.lhs
+7
-9
ghc/compiler/typecheck/TcTyClsDecls.lhs
ghc/compiler/typecheck/TcTyClsDecls.lhs
+4
-4
ghc/compiler/typecheck/TcTyDecls.lhs
ghc/compiler/typecheck/TcTyDecls.lhs
+7
-7
ghc/compiler/typecheck/Unify.lhs
ghc/compiler/typecheck/Unify.lhs
+12
-12
ghc/compiler/types/Kind.lhs
ghc/compiler/types/Kind.lhs
+3
-3
ghc/compiler/types/PprType.lhs
ghc/compiler/types/PprType.lhs
+9
-9
ghc/compiler/types/TyCon.lhs
ghc/compiler/types/TyCon.lhs
+13
-1
ghc/compiler/types/TyLoop.lhi
ghc/compiler/types/TyLoop.lhi
+3
-2
ghc/compiler/types/Type.lhs
ghc/compiler/types/Type.lhs
+66
-8
ghc/compiler/utils/Argv.lhs
ghc/compiler/utils/Argv.lhs
+4
-0
ghc/compiler/utils/Bag.lhs
ghc/compiler/utils/Bag.lhs
+13
-13
ghc/compiler/utils/CharSeq.lhs
ghc/compiler/utils/CharSeq.lhs
+2
-1
ghc/compiler/utils/FastString.lhs
ghc/compiler/utils/FastString.lhs
+505
-0
ghc/compiler/utils/FiniteMap.lhs
ghc/compiler/utils/FiniteMap.lhs
+5
-2
ghc/compiler/utils/HandleHack.lhi
ghc/compiler/utils/HandleHack.lhi
+26
-0
ghc/compiler/utils/MatchEnv.lhs
ghc/compiler/utils/MatchEnv.lhs
+4
-4
ghc/compiler/utils/PprStyle.lhs
ghc/compiler/utils/PprStyle.lhs
+1
-0
ghc/compiler/utils/Pretty.lhs
ghc/compiler/utils/Pretty.lhs
+6
-6
ghc/compiler/utils/PrimPacked.lhs
ghc/compiler/utils/PrimPacked.lhs
+279
-0
ghc/compiler/utils/StringBuffer.lhs
ghc/compiler/utils/StringBuffer.lhs
+318
-0
ghc/compiler/utils/Ubiq.lhi
ghc/compiler/utils/Ubiq.lhi
+3
-2
ghc/compiler/utils/UniqFM.lhs
ghc/compiler/utils/UniqFM.lhs
+3
-5
ghc/compiler/utils/Unpretty.lhs
ghc/compiler/utils/Unpretty.lhs
+1
-1
ghc/compiler/utils/Util.lhs
ghc/compiler/utils/Util.lhs
+2
-2
ghc/docs/Makefile
ghc/docs/Makefile
+8
-3
ghc/docs/install_guide/Makefile
ghc/docs/install_guide/Makefile
+0
-5
ghc/docs/install_guide/installing.lit
ghc/docs/install_guide/installing.lit
+0
-2177
ghc/docs/release_notes/Makefile
ghc/docs/release_notes/Makefile
+0
-6
ghc/docs/state_interface/Makefile
ghc/docs/state_interface/Makefile
+0
-9
ghc/docs/state_interface/state-interface.verb
ghc/docs/state_interface/state-interface.verb
+0
-1156
ghc/docs/users_guide/2-01-notes.lit
ghc/docs/users_guide/2-01-notes.lit
+0
-0
ghc/docs/users_guide/2-02-notes.lit
ghc/docs/users_guide/2-02-notes.lit
+112
-0
ghc/docs/users_guide/Makefile
ghc/docs/users_guide/Makefile
+5
-6
ghc/docs/users_guide/how_to_run.lit
ghc/docs/users_guide/how_to_run.lit
+80
-26
ghc/docs/users_guide/intro.lit
ghc/docs/users_guide/intro.lit
+8
-8
ghc/docs/users_guide/libraries.lit
ghc/docs/users_guide/libraries.lit
+1152
-1071
ghc/docs/users_guide/real-soon-now.lit
ghc/docs/users_guide/real-soon-now.lit
+0
-0
ghc/docs/users_guide/recomp.lit
ghc/docs/users_guide/recomp.lit
+7
-7
ghc/docs/users_guide/release.lit
ghc/docs/users_guide/release.lit
+0
-0
ghc/docs/users_guide/user.lit
ghc/docs/users_guide/user.lit
+2
-1
ghc/driver/Makefile
ghc/driver/Makefile
+140
-16
ghc/driver/ghc-consist.lprl
ghc/driver/ghc-consist.lprl
+1
-1
ghc/driver/ghc-iface.lprl
ghc/driver/ghc-iface.lprl
+4
-2
ghc/driver/ghc.lprl
ghc/driver/ghc.lprl
+518
-446
ghc/driver/prefix.txt
ghc/driver/prefix.txt
+12
-0
ghc/lib/cbits/getCPUTime.lc
ghc/lib/cbits/getCPUTime.lc
+105
-0
ghc/lib/cbits/stgio.h
ghc/lib/cbits/stgio.h
+5
-4
ghc/lib/required/CPUTime.lhs
ghc/lib/required/CPUTime.lhs
+51
-0
ghc/lib/tests/Array/arr001/Main.hs
ghc/lib/tests/Array/arr001/Main.hs
+9
-0
ghc/lib/tests/Array/arr001/Makefile
ghc/lib/tests/Array/arr001/Makefile
+3
-0
ghc/lib/tests/Array/arr002/Main.hs
ghc/lib/tests/Array/arr002/Main.hs
+23
-0
ghc/lib/tests/Array/arr002/Makefile
ghc/lib/tests/Array/arr002/Makefile
+3
-0
ghc/lib/tests/Array/arr003/Main.hs
ghc/lib/tests/Array/arr003/Main.hs
+19
-0
ghc/lib/tests/Array/arr003/Makefile
ghc/lib/tests/Array/arr003/Makefile
+3
-0
ghc/lib/tests/Array/arr004/Main.hs
ghc/lib/tests/Array/arr004/Main.hs
+15
-0
ghc/lib/tests/Array/arr004/Makefile
ghc/lib/tests/Array/arr004/Makefile
+3
-0
ghc/lib/tests/Array/arr005/Main.hs
ghc/lib/tests/Array/arr005/Main.hs
+16
-0
ghc/lib/tests/Array/arr005/Makefile
ghc/lib/tests/Array/arr005/Makefile
+3
-0
ghc/lib/tests/Array/arr006/Main.hs
ghc/lib/tests/Array/arr006/Main.hs
+11
-0
ghc/lib/tests/Array/arr006/Makefile
ghc/lib/tests/Array/arr006/Makefile
+3
-0
ghc/lib/tests/Array/arr007/Main.hs
ghc/lib/tests/Array/arr007/Main.hs
+11
-0
ghc/lib/tests/Array/arr007/Makefile
ghc/lib/tests/Array/arr007/Makefile
+3
-0
ghc/lib/tests/Array/arr008/Main.hs
ghc/lib/tests/Array/arr008/Main.hs
+14
-0
ghc/lib/tests/Array/arr008/Makefile
ghc/lib/tests/Array/arr008/Makefile
+3
-0
ghc/lib/tests/Array/arr009/Main.hs
ghc/lib/tests/Array/arr009/Main.hs
+17
-0
ghc/lib/tests/Array/arr009/Makefile
ghc/lib/tests/Array/arr009/Makefile
+3
-0
ghc/lib/tests/Array/arr010/Main.hs
ghc/lib/tests/Array/arr010/Main.hs
+19
-0
ghc/lib/tests/Array/arr010/Makefile
ghc/lib/tests/Array/arr010/Makefile
+3
-0
ghc/lib/tests/Array/arr011/Main.hs
ghc/lib/tests/Array/arr011/Main.hs
+20
-0
ghc/lib/tests/Array/arr011/Makefile
ghc/lib/tests/Array/arr011/Makefile
+3
-0
ghc/lib/tests/Array/arr012/Main.hs
ghc/lib/tests/Array/arr012/Main.hs
+19
-0
ghc/lib/tests/Array/arr012/Makefile
ghc/lib/tests/Array/arr012/Makefile
+3
-0
ghc/mk/boilerplate.mk
ghc/mk/boilerplate.mk
+34
-0
ghc/mk/buildflags.mk
ghc/mk/buildflags.mk
+0
-198
ghc/mk/ghc-opts.mk
ghc/mk/ghc-opts.mk
+0
-192
ghc/mk/ghc.mk
ghc/mk/ghc.mk
+0
-14
ghc/mk/ghcconfig.mk.in
ghc/mk/ghcconfig.mk.in
+0
-237
ghc/mk/paths.mk
ghc/mk/paths.mk
+78
-0
ghc/mk/site-ghc.mk
ghc/mk/site-ghc.mk
+0
-94
ghc/mk/suffix.mk
ghc/mk/suffix.mk
+21
-0
ghc/mk/suffixes-ghc.mk
ghc/mk/suffixes-ghc.mk
+0
-40
ghc/mk/target.mk
ghc/mk/target.mk
+14
-0
ghc/mk/ways.mk
ghc/mk/ways.mk
+0
-38
ghc/utils/hstags/prefix.txt
ghc/utils/hstags/prefix.txt
+9
-0
glafp-utils/Makefile
glafp-utils/Makefile
+16
-12
glafp-utils/fastmake/Makefile
glafp-utils/fastmake/Makefile
+15
-5
glafp-utils/fastmake/fastmake.prl
glafp-utils/fastmake/fastmake.prl
+6
-3
glafp-utils/lndir/Makefile
glafp-utils/lndir/Makefile
+7
-5
glafp-utils/ltx/Makefile
glafp-utils/ltx/Makefile
+9
-6
glafp-utils/ltx/ltx.prl
glafp-utils/ltx/ltx.prl
+11
-4
glafp-utils/mk/boilerplate.mk
glafp-utils/mk/boilerplate.mk
+31
-0
glafp-utils/mk/opts.mk
glafp-utils/mk/opts.mk
+9
-0
glafp-utils/mkdependC/Makefile
glafp-utils/mkdependC/Makefile
+18
-6
glafp-utils/mkdependC/mkdependC.prl
glafp-utils/mkdependC/mkdependC.prl
+8
-4
glafp-utils/mkdirhier/Makefile
glafp-utils/mkdirhier/Makefile
+9
-6
glafp-utils/msub/Makefile
glafp-utils/msub/Makefile
+6
-11
glafp-utils/runstdtest/Makefile
glafp-utils/runstdtest/Makefile
+12
-6
glafp-utils/runstdtest/runstdtest.prl
glafp-utils/runstdtest/runstdtest.prl
+12
-6
mk/Cprog.mk
mk/Cprog.mk
+0
-42
mk/HSprog.mk
mk/HSprog.mk
+0
-38
mk/boilerplate.mk
mk/boilerplate.mk
+58
-0
mk/cdepend.mk
mk/cdepend.mk
+0
-14
mk/clib.mk
mk/clib.mk
+0
-34
mk/config.h.in
mk/config.h.in
+182
-0
mk/config.mk.in
mk/config.mk.in
+688
-0
mk/gen.mk
mk/gen.mk
+0
-37
mk/hsdepend.mk
mk/hsdepend.mk
+0
-14
mk/install.mk.in
mk/install.mk.in
+0
-83
mk/lib.mk
mk/lib.mk
+0
-40
mk/opts.mk
mk/opts.mk
+115
-0
mk/paths.mk
mk/paths.mk
+274
-0
mk/platform.mk.in
mk/platform.mk.in
+0
-22
mk/rules.mk
mk/rules.mk
+0
-319
mk/script.mk
mk/script.mk
+0
-53
mk/subdir.mk
mk/subdir.mk
+0
-101
mk/suffix.mk
mk/suffix.mk
+365
-0
mk/target.mk
mk/target.mk
+873
-0
mk/utils.mk.in
mk/utils.mk.in
+0
-382
No files found.
ANNOUNCE-2.02
0 → 100644
View file @
1fb1ab5d
The Glasgow Haskell Compiler -- version 2.02
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We are pleased to announce the first release of the Glasgow Haskell
Compiler (GHC, version 2.02) for *Haskell 1.4*. Sources and binaries
are freely available by anonymous FTP and on the World-Wide Web;
details below.
Haskell is "the" standard lazy functional programming language; the
current language version is 1.3, agreed in May, 1996. The Haskell
Report is online at
http://haskell.cs.yale.edu/1.4/haskell-report.html
GHC 2.02 is a beta-quality release:
* It is reliable.
It has been extensively tested against a large suite of Haskell 1.2
programs, but not so extensively tested against Haskell 1.4 programs
because we don't have a comprehensive set (Donations of Haskell 1.4
programs to our test suite are most welcome).
* It should generate good code.
All the optimisations that GHC 0.29 used to do are back in, with
the exception of specialisation. It ought to be the case that
GHC 2.02 outperforms GHC 0.29, because it has a much better
handle on cross-module inlining, but there's a good chance that
there are performance "holes" lurking. We have yet to make
a systematic comparison. (Please send us programs where 2.02
does noticeably worse than 0.29.)
* It is more expensive than it should be.
GHC 2.02 has received even less attention to its own performance.
At present it eats more space and time than GHC 0.29, especially
for very small programs. We'll work on this.
* A couple of Haskell 1.4 features are incompletely supported,
notably polymorphic strictness annotations, and Unicode.
If you want to use Haskell 1.4, this is a good moment to switch. If
you don't need the Haskell 1.4 extensions, then stay with GHC 0.29.
If you want to hack on GHC itself, then 2.02 is definitely for you.
The release notes comment further on this point.
GHC 2.02 is substantially changed from 2.01. Changes worth noting
include:
* The whole front end, which deals with the module system, has
been rewritten. The interface file format has changed.
* GHC 2.02 comes complete with Green Card, a C foreign language
interface for GHC. Green card is a pre-processor that
scans Haskell source files for Green Card directives, which
it expands into tons of "ccall" boilerplate that marshalls
your arguments to and from C.
* GHC 2.02 is available for Windows NT. From now on, Windows NT
will be a fully supported platform for GHC.
* GHC 2.02 supports full cross moudule inlining. Unlike 0.29 and
its predecessors, inlining can happen even if the inlined body
mentions a function or type that is not itself exported. This is
one place Haskell 1.4's new module system really pays off.
* Like 2.01, GHC 2.02 aborts a compilation if it decides that
nothing that the module imports *and acually uses* has changed.
This decision is now taken by the compiler itself, rather than
by a Perl script (as in 2.01) which sometimes got it wrong.
* The ghc/lib libraries are much more systematically organised.
* There's a completely new "make" system. This will mainly affect people
who want the source distribution, who will hopefully find it much, much,
easier than grappling with the old Jmakefiles. Even for binary
installation, the procedure is a little simpler, though.
Please see the release notes for a complete discussion of What's New.
To run this release, you need a machine with 16+MB memory (more if
building from sources), GNU C (`gcc'), and `perl'. We have seen GHC
2.01 work on these platforms: alpha-dec-osf2, hppa1.1-hp-hpux9,
sparc-sun-{sunos4,solaris2}, mips-sgi-irix5, and
i386-unknown-{linux,solaris2,freebsd}. Similar platforms should work
with minimal hacking effort. The installer's guide give a full
what-ports-work report.
Binaries are distributed in `bundles', e.g. a "profiling bundle" or a
"concurrency bundle" for your platform. Just grab the ones you need.
Once you have the distribution, please follow the pointers in
ghc/README to find all of the documentation about this release. NB:
preserve modification times when un-tarring the files (no `m' option
for tar, please)!
We run mailing lists for GHC users and bug reports; to subscribe, send
mail to majordomo@dcs.gla.ac.uk; the msg body should be:
subscribe glasgow-haskell-<which> Your Name <your-email@where.you.are>
Please send bug reports about GHC to glasgow-haskell-bugs@dcs.gla.ac.uk.
Simon Peyton Jones
Dated: February 1997
Relevant URLs on the World-Wide Web:
GHC home page http://www.dcs.gla.ac.uk/fp/software/ghc/
Glasgow FP group page http://www.dcs.gla.ac.uk/fp/
comp.lang.functional FAQ http://www.cs.nott.ac.uk/Department/Staff/mpj/faq.html
======================================================================
How to get GHC 2.01:
This release is available by anonymous FTP from the main Haskell
archive sites, in the directory pub/haskell/glasgow:
ftp.dcs.gla.ac.uk (130.209.240.50)
ftp.cs.chalmers.se (129.16.227.140)
haskell.cs.yale.edu (128.36.11.43)
The Glasgow site is mirrored by src.doc.ic.ac.uk (146.169.43.1), in
computing/programming/languages/haskell/glasgow.
These are the available files (.gz files are gzipped) -- some are `on
demand', ask if you don't see them:
ghc-2.01-src.tar.gz The source distribution; about 3MB.
ghc-2.01.ANNOUNCE This file.
ghc-2.01.{README,RELEASE-NOTES} From the distribution; for those who
want to peek before FTPing...
ghc-2.01-ps-docs.tar.gz Main GHC documents in PostScript format; in
case your TeX setup doesn't agree with our
DVI files...
ghc-2.01-<platform>.tar.gz Basic binary distribution for a particular
<platform>. Unpack and go: you can compile
and run Haskell programs with nothing but one
of these files. NB: does *not* include
profiling (see below).
<platform> ==> alpha-dec-osf2
hppa1.1-hp-hpux9
i386-unknown-freebsd
i386-unknown-linux
i386-unknown-solaris2
m68k-sun-sunos4
mips-sgi-irix5
sparc-sun-sunos4
sparc-sun-solaris2
ghc-2.01-<bundle>-<platform>.tar.gz
<platform> ==> as above
<bundle> ==> prof (profiling)
conc (concurrent Haskell)
par (parallel)
gran (GranSim parallel simulator)
ticky (`ticky-ticky' counts -- for implementors)
prof-conc (profiling for "conc[urrent]")
prof-ticky (ticky for "conc[urrent]")
ghc-2.01-hc-files.tar.gz Basic set of intermediate C (.hc) files for the
compiler proper, the prelude, and `Hello,
world'. Used for bootstrapping the system.
About 4MB.
ghc-2.01-<bundle>-hc-files.tar.gz Further sets of .hc files, for
building other "bundles", e.g., profiling.
ghc-2.01-hi-files-<blah>.tar.gz Sometimes it's more convenient to
use a different set of interface files than
the ones in *-src.tar.gz. (The installation
guide will advise you of this.)
Makefile
View file @
1fb1ab5d
#-----------------------------------------------------------------------------
# $Id: Makefile,v 1.2 1996/11/21 16:45:54 simonm Exp $
#################################################################################
#
# fptools/Makefile
#
# This is the main Makefile for fptools.
#
#################################################################################
TOP
=
.
SUBDIRS
=
glafp-utils ghc
include
$(TOP)/mk/gen.mk
include
$(TOP)/mk/subdir.mk
TOP
=
.
include
$(TOP)/mk/boilerplate.mk
SRC_DIST_DIR
=
$(
shell
pwd
)
/
$(SRC_DIST_NAME)
line
=
@echo
"------------------------------------------------------------------------------"
SUBDIRS
=
$(ProjectsToBuild)
boot
::
@
echo
"Bootstrapping
$(PROJECTNAME)
..."
$(line)
@
echo
"Booting glafp-utils"
$(line)
@
$(MAKE)
-C
glafp-utils boot
#
# Files to include in fptools source distribution
#
SRC_DIST_DIRS
+=
mk
$(ProjectsToBuild)
SRC_DIST_FILES
+=
configure.in config.guess config.sub configure README ANNOUNCE NEWS INSTALL Makefile
$(line)
@echo
"Booting ghc"
$(line)
@$(MAKE)
-C
ghc
boot
@echo
"Done!"
#
# Making a binary distribution
#
BIN_DIST_TMPDIR
=
$(
shell
pwd
)
BIN_DIST_NAME
=
fptools
#
# list of toplevel `projects' to include in binary distrib.
#
BIN_DIST_DIRS
=
ghc
binary-dist
::
binary-dist-pre
BIN_DIST_TOP
=
distrib/Makefile-bin.in
\
distrib/configure-bin.in
\
distrib/README
\
distrib/INSTALL
\
distrib/ANNOUNCE
binary-dist
::
@
for
i
in
$(BIN_DIST_TOP)
;
do
\
@echo
cp
$$
i
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
\
cp
$$
i
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
\
done
;
#
# Creating and copying the documentation into the bin-dist tree.
#
binary-dist
::
$(MKDIRHIER)
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
/html
$(MKDIRHIER)
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
/dvi
$(MKDIRHIER)
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
/info
@
echo
"Making html documentation.."
$(MAKE)
-C
docs
--no-print-directory
$(MFLAGS)
html
cp
docs/html/
*
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
/html
@
echo
"Making dvi files.."
$(MAKE)
-C
docs
--no-print-directory
$(MFLAGS)
dvi
cp
docs/
*
.dvi
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
/dvi
@
echo
"Making info files.."
$(MAKE)
-C
docs
--no-print-directory
$(MFLAGS)
info
cp
docs/
*
.info
*
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
/info
dist
::
dist-pre
include
$(TOP)/mk/target.mk
dist
::
dist-post
#
# Automatically remake update configuration files
# (from autoconf manual)
#
configure
:
configure.in
autoconf
#
# autoheader might not change config.h.in, so touch a stamp file.
#
mk/config.h.in
:
mk/stamp-h.in
mk/stamp-h.in
:
configure.in
autoheader
echo
timestamp
>
mk/stamp-h.in
mk/config.h
:
mk/stamp-h
mk/stamp-h
:
mk/config.h.in config.status
./config.status
config.status
:
configure
./config.status
--recheck
.PHONY
:
config
config
:
config.status
@
:
configure.in
View file @
1fb1ab5d
...
...
@@ -4,7 +4,7 @@ dnl
dnl * INITIAL SETUP, CHOICE OF PLATFORM(S)
#!/bin/sh
#
# (c) The AQUA Project, Glasgow University, 1994-199
5
# (c) The AQUA Project, Glasgow University, 1994-199
7
#
# Configure script for the Glasgow functional programming tools
# (created automagically by autoconf...do not edit by hand)
...
...
@@ -12,163 +12,51 @@ dnl * INITIAL SETUP, CHOICE OF PLATFORM(S)
# Do "./configure --help" to see what flags are available.
# (Better yet, read the documentation!)
#
AC_INIT(mk/platform.mk.in)
# First off, a distrib sanity check..
AC_INIT(mk/config.mk.in)
# -------------------------------------------------------------------------
# Prepare to generate the following header files
#
AC_CONFIG_HEADER(ghc/includes/config.h literate/lit-deatify/config.h)
#
AC_CONFIG_HEADER(mk/config.h)
# No, we don't do `--srcdir'...
if test x"$srcdir" != 'x.' ; then
echo "This configuration does not support the \`--srcdir' option."
echo "This configuration does not support the \`--srcdir' option.
.
"
exit 1
fi
#
# Remove some automounter nonsense (Glasgow specific gruff)
#
hardtop=`pwd`
hardtop=`echo $hardtop | sed 's|^/tmp_mnt/|/|' | sed 's|^/export/|/|' | sed 's|^/grasp_tmp|/local/grasp_tmp|'`
hardtop=`echo $hardtop | sed 's|^/tmp_mnt/|/|' | sed 's|^/grasp_tmp|/local/grasp_tmp|'`
#OLD: hardtop=`echo $hardtop | sed 's|^/tmp_mnt/|/|' | sed 's|^/export/|/|' | sed 's|^/grasp_tmp|/local/grasp_tmp|'`
echo ''
echo "*** The top of your build tree is: $hardtop"
AC_SUBST(hardtop)
# -------------------------------------------------------------------------
dnl ** choose what blobs to build (ghc,hslibs,haggis,happy,nofib,????)
# set to the name for the dir if doing it, otherwise empty
DoingHsLibs=''
DoingNoFib=''
DoingHappy=''
DoingHaggis=''
MkWorldSetup='std'
AC_ARG_ENABLE(hslibs,
[
**********************************************************************
* Configuration options for the Glasgow functional-programming tools *
**********************************************************************
First, select *which* of the tools you want to build, with
--{enable,disable}-{hslibs,nofib,happy,haggis}. (Currently, you have to
build ghc.)
Second, you may set one of a few applies-in-all-cases options. For
example, --with-tmpdir=/usr/tmp.
Then you may set various options which are specifically for the tools you
choose in step 1. For GHC, perhaps --enable-concurrent. For NoFib,
perhaps --enable-all-tests. And so on.
The rest of this message lists all of the configure options. If the option
is enabled by default, the message says how to disable it. And vice versa.
If you are confused, don't forget the installation documents that came with
the software!
*******************************************************************
** FOR SELECTING WHICH GLASGOW FP TOOLS TO BUILD:]
[--enable-hslibs build suite of Haskell libraries],
[case "$enableval" in
yes) DoingHsLibs='hslibs'
;;
no) DoingHsLibs=''
;;
*) echo "I don't understand this option: --enable-hslibs=$enableval"
exit 1
;;
esac])
if test "xxx$DoingHsLibs" = 'xxxhslibs' -a \( ! -d hslibs \) ; then
DoingHsLibs=''
echo 'Doing --disable-hslibs, as there is no hslibs directory'
fi
AC_ARG_ENABLE(nofib,
[--enable-nofib build NoFib suite as part of Glasgow FP tools],
[case "$enableval" in
yes) DoingNoFib='nofib'
;;
no) DoingNoFib=''
;;
*) echo "I don't understand this option: --enable-nofib=$enableval"
exit 1
;;
esac])
if test "xxx$DoingNoFib" = 'xxxnofib' -a \( ! -d nofib \) ; then
DoingNoFib=''
echo 'Doing --disable-nofib, as there is no nofib directory'
fi
AC_ARG_ENABLE(happy,
[--enable-happy build Happy parser-generator as part of Glasgow FP tools],
[case "$enableval" in
yes) DoingHappy='happy'
;;
no) DoingHappy=''
;;
*) echo "I don't understand this option: --enable-happy=$enableval"
exit 1
;;
esac])
if test "xxx$DoingHappy" = 'xxxhappy' -a \( ! -d happy \) ; then
DoingHappy=''
echo 'Doing --disable-happy, as there is no happy directory'
fi
AC_ARG_ENABLE(haggis,
[--enable-haggis build Haggis GUI toolkit as part of Glasgow FP tools],
[case "$enableval" in
yes) DoingHaggis='haggis'
;;
no) DoingHaggis=''
;;
*) echo "I don't understand this option: --enable-haggis=$enableval"
exit 1
;;
esac])
if test "xxx$DoingHaggis" = 'xxxhaggis' -a \( ! -d haggis \) ; then
DoingHaggis=''
echo 'Doing --disable-haggis, as there is no haggis directory'
fi
AC_SUBST(DoingHsLibs)
AC_SUBST(DoingNoFib)
AC_SUBST(DoingHappy)
AC_SUBST(DoingHaggis)
# -------------------------------------------------------------------------
dnl ** choose host(/target/build) platform
#
# Guess host/target/build platform(s) if necessary.
# Partly stolen from GCC "configure".
#
if test "x$target" = xNONE ; then
if test "x$nonopt" != xNONE ; then
target=$nonopt
else
# This way of testing the result of a command substitution is
# defined by Posix.2 (section 3.9.1) as well as traditional shells.
if target=`$srcdir/config.guess` ; then
echo "Configuring for a ${target} host." 1>&2
else
echo 'Config.guess failed to determine the host type. You need \
to specify one.' 1>&2
if test -r config.status ; then
tail +2 config.status 1>&2
fi
exit 1
fi
fi
fi
AC_CANONICAL_SYSTEM
# "$host" defaults to "$target"
if test "x$host" = xNONE ; then
host=$target
fi
# "$build" defaults to "$host"
if test "x$build" = xNONE ; then
build=$host
else
echo "This configuration does not support the \`--build' option."
exit 1
fi
#
if test "x$build" = xNONE ; then
#
build=$host
#
else
#
echo "This configuration does not support the \`--build' option."
#
exit 1
#
fi
dnl ** canonicalize platform names
# Canonicali[sz]e those babies
...
...
@@ -181,22 +69,23 @@ if test x"$TargetPlatform" != x"$HostPlatform" ; then
exit 1
fi
#
# The following will be more difficult when we *are* cross-compiling.
# Suitable names to slam in *_CPP are in platform.h.in.
# We also record the architecture, vendor, and operating system (OS)
# separately.
case $HostPlatform in
alpha-dec-osf[[1234]]*)
HostPlatform=alpha-dec-osf1 # canonicalise for our purposes
HostPlatform=alpha-dec-osf1
# canonicalise for our purposes
TargetPlatform=alpha-dec-osf1 # this will work for now... (hack)
BuildPlatform=alpha-dec-osf1
#
hack
BuildPlatform=alpha-dec-osf1
#
hack
HostPlatform_CPP='alpha_dec_osf1'
HostArch_CPP='alpha'
HostVendor_CPP='dec'
HostOS_CPP='osf1'
;;
hppa1.1-hp-hpux*)
HostPlatform=hppa1.1-hp-hpux # canonicalise for our purposes (hack)
HostPlatform=hppa1.1-hp-hpux
# canonicalise for our purposes (hack)
TargetPlatform=hppa1.1-hp-hpux
BuildPlatform=hppa1.1-hp-hpux
HostPlatform_CPP='hppa1_1_hp_hpux'
...
...
@@ -205,7 +94,7 @@ hppa1.1-hp-hpux*)
HostOS_CPP='hpux'
;;
i[[3456]]86-*-linuxaout*)
HostPlatform=i386-unknown-linuxaout # hack again
HostPlatform=i386-unknown-linuxaout
# hack again
TargetPlatform=i386-unknown-linuxaout
BuildPlatform=i386-unknown-linuxaout
HostPlatform_CPP='i386_unknown_linuxaout'
...
...
@@ -249,6 +138,15 @@ i[[3456]]86-*-solaris2*)
HostVendor_CPP='unknown'
HostOS_CPP='solaris2'
;;
i[[3456]]86-*-cygwin32*)
HostPlatform=i386-unknown-cygwin32 # hack again
TargetPlatform=i386-unknown-cygwin32
BuildPlatform=i386-unknown-cygwin32
HostPlatform_CPP='i386_unknown_cygwin32'
HostArch_CPP='i386'
HostVendor_CPP='unknown'
HostOS_CPP='cygwin32'
;;
m68k-next-nextstep2)
HostPlatform_CPP='m68k_next_nextstep2'
HostArch_CPP='m68k'
...
...
@@ -326,12 +224,9 @@ sparc-sun-solaris2*)
exit 1
;;
esac
test -n "$verbose" && echo "Host platform set to $HostPlatform"
test -n "$verbose" -a x"$HostPlatform" != x"$TargetPlatform" \
&& echo "Target platform set to $TargetPlatform"
test -n "$verbose" -a x"$BuildPlatform" != x"$HostPlatform" \
&& echo "Build platform set to $BuildPlatform"
echo "Which we'll canonicalise into: $HostPlatform"
test x"$HostPlatform" != x"$TargetPlatform" && echo "Target platform set to $TargetPlatform"
test x"$BuildPlatform" != x"$HostPlatform" && echo "Build platform set to $BuildPlatform"