summaryrefslogtreecommitdiff
path: root/ghc
Commit message (Collapse)AuthorAgeFilesLines
* Split ShowVersion etc off into a different type to DoInteractive etcIan Lynagh2008-09-261-52/+56
| | | | | | | This fixes trac #1348 (ghci --help gave ghc's help), and also tidies things up a bit. Things would be even tidier if the usage.txt files were put into a .hs file, so that ShowUsage wouldn't need to be able to find the libdir.
* Pass SRC_HC_OPTS to GHC when building GHC's Main.hsIan Lynagh2008-09-261-1/+2
|
* Fix the behaviour of flags like --help and --version; fixes trac #2620Ian Lynagh2008-09-251-3/+14
| | | | They should override other mode flags, not conflict with them
* Fix maintainer-cleanIan Lynagh2008-09-241-3/+3
|
* #2566: emit a warning for 'ghc -c foo.bar'Simon Marlow2008-09-231-2/+9
| | | | | | | $ ghc -c foo.bar Warning: the following files would be used as linker inputs, but linking is not being done: foo.bar ghc: no input files Usage: For basic information, try the `--help' option.
* Be more forceful when cleaning in compiler/ and ghc/Ian Lynagh2008-09-181-1/+5
| | | | | | Now that the Cabal file is generated by configure, it would be nice if clean worked even if the cabal file is missing. So now we just rm -rf the dist directory.
* Generate ghc.cabal and ghc-bin.cabal with configureIan Lynagh2008-09-182-2/+7
| | | | This allows us to put the proper version number into them
* Fix: GhcStage2HcOpts were being added to stage 3 tooSimon Marlow2008-09-171-7/+8
|
* Use "exec" when running ghc in the wrapperIan Lynagh2008-09-151-1/+1
|
* Add a "#!/bin/sh" to ghc.wrapperIan Lynagh2008-09-141-0/+1
|
* add $(GhcStage[123]HcOpts)Simon Marlow2008-09-121-0/+4
|
* Use 'GhcMonad' in ghc/Main.Thomas Schilling2008-09-141-56/+69
|
* We always install stage2, so we need to always put stage2 into bindistsIan Lynagh2008-09-091-1/+1
|
* Handle the html target in compiler/ and ghc/Ian Lynagh2008-08-281-0/+3
|
* Give locations of flag warnings/errorsIan Lynagh2008-08-261-7/+10
|
* Separate the static flag parser from the static global variablesIan Lynagh2008-08-261-0/+1
| | | | | This allows us to avoid a module import loop: CmdLineParser -> SrcLoc -> Outputable -> StaticFlags -> CmdLineParser
* st is now split off from baseIan Lynagh2008-08-231-1/+1
|
* Ignore install-docs in compiler/Makefile and ghc/MakefileIan Lynagh2008-08-211-0/+3
|
* We need to give make some more cluesIan Lynagh2008-08-171-1/+1
| | | | Otherwise it can't work out how to make in ghc/ any more.
* When making in compiler/, automatically make in ghc/ when we are doneIan Lynagh2008-08-171-1/+3
|
* Don't do the stage1 re-linking hack if we have GHC >= 6.9Ian Lynagh2008-08-171-0/+2
|
* move INPLACE_DATA_DIR into mk/config.mk and share itSimon Marlow2008-08-131-3/+0
|
* Make "make clean" in ghc/ only clean the stage we want to cleanIan Lynagh2008-08-101-7/+9
|
* bindist fixesIan Lynagh2008-08-101-8/+3
|
* Add -fno-implicit-import-qualified (#2452)Simon Marlow2008-08-051-1/+8
| | | | | The flag is off by default, but GHCi turns it on (in Main.hs). For GHCi it can be overriden on the command-line or using :set.
* in stage1, always rebuild Main.hsSimon Marlow2008-08-051-0/+7
| | | | | | GHC 6.9+ can properly handle cross-package recompilation checking, but older versions of GHC couldn't, so in stage1 we always rebuild Main.hs. In other words, 'make' in ghc/ should do the right thing now.
* Follow extensible exception changesIan Lynagh2008-07-301-11/+10
|
* don't strip the inplace GHC executables (for debugging)Simon Marlow2008-07-281-0/+4
|
* add --enable-shared to configure, and $(BuildSharedLibs) to the build systemSimon Marlow2008-07-241-0/+4
|
* allow EXTRA_HC_OPTS to be used from the command-lineSimon Marlow2008-07-241-0/+4
|
* put the inplace GHC in stageN-inplace/ghc instead of stageN-inplace/bin/ghcSimon Marlow2008-07-241-1/+1
| | | | just saves a bit of typing
* add a "rebuild" target for convenienceSimon Marlow2008-07-231-0/+5
|
* Clean stage 3Ian Lynagh2008-07-221-0/+2
|
* Some "install" and "clean" fixesIan Lynagh2008-07-181-16/+18
|
* Build system tweaksIan Lynagh2008-07-181-1/+2
|
* More build system changes; ghc-pkg is now built with CabalIan Lynagh2008-07-181-12/+3
|
* Split building the ghc package and binary into "boot" and "all" stepsIan Lynagh2008-07-171-3/+4
| | | | In "boot" we configure, and in "all" we do the actual building.
* Install the compiler during make installIan Lynagh2008-07-171-0/+9
| | | | For now we always install stage 2
* Remove some duplicationIan Lynagh2008-07-171-31/+16
|
* Fix GHC finding extra-gcc-opts on WindowsIan Lynagh2008-07-161-2/+15
|
* Get building GHC itself with Cabal more-or-less workingIan Lynagh2008-07-164-0/+711
| | | | | Installing and bindist creation don't work, but they were already broken. Only tested validating with one setup.
* remove the last bits of the ghc/ subdirSimon Marlow2006-04-078-385/+0
|
* Reorganisation of the source treeSimon Marlow2006-04-071486-424506/+0
| | | | | | | | | | | | | | | Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.
* rempve some unused filesSimon Marlow2006-01-2168-1946/+0
|
* Add stage2/ghci to ghc-api's import list.Lemmih2006-04-061-0/+1
|
* Don't build GHC with breakpoint support by default.Lemmih2006-04-061-1/+1
|
* GHC.Base.breakpoint isn't vaporware anymore.Lemmih2006-04-0610-33/+251
| | | | | -fignore-breakpoints can be used to ignore breakpoints.
* Add SA_RESTART flag to the timer signal handler.Simon Marlow2006-04-061-0/+11
| | | | | This seems to be necessary to prevent readline being confused by our SIGALRM handler.
* Better messages from HscTypes.showModMsg.Lemmih2006-04-064-13/+17
|
* Turn the "too many hs_exit()s" fatal error into a warningSimon Marlow2006-04-051-1/+2
|