summaryrefslogtreecommitdiff
path: root/compiler/main/GhcMake.hs
Commit message (Collapse)AuthorAgeFilesLines
* Restore home-package-plugin functionalityMax Bolingbroke2011-06-301-3/+3
|
* SafeHaskell: Disable certain ghc extensions in Safe.David Terei2011-06-171-1/+1
| | | | | | | | | | This patch disables the use of some GHC extensions in Safe mode and also the use of certain flags. Some are disabled completely while others are only allowed on the command line and not in source PRAGMAS. We also check that Safe imports are indeed importing a Safe or Trustworthy module.
* Improve the reporting of module cycles, to give a nice message like thisSimon Peyton Jones2011-06-131-15/+48
| | | | | | | | | | Module imports form a cycle: module `Foo4' imports `Foo' which imports `Foo2' which imports `Foo3' which imports `Foo4' as requested by Bryan Richter
* Formatting wibble in GhcMake.hsDavid Terei2011-04-261-6/+3
|
* Merge _stub.o files into the main .o file (Fixes #3687 and #706)Simon Marlow2011-04-051-14/+27
| | | | | | | | | | | | | | Now GHC still generates the _stub.c files, but the object file is automatically merged into the main .o file for a module. This means that build systems (including GHC's own) no longer need to worry about looking for _stub.o files and including them when linking. I had to do lots of refactoring in DriverPipeline to make this work; now there's a monad to carry around all the information, and everything is a lot tidier. The _stub.c is now created as a temporary file and removed after compilation (unless the -keep-tmp-files flag is on).
* remove ^Ms; comment updatesSimon Marlow2011-04-051-1463/+1465
|
* Split main/GHC into GHC and GhcMakesimonpj@microsoft.com2011-01-251-0/+1463
There are two things going on in main/GHC.hs. * It's the root module of the GHC package * It contains lots of stuff for --make It is also gigantic (2.7k lines) This patch splits it into two * GHC.hs is the root module for the GHC package (1.3k lines) * GhcMake.hs contains the stuff for --make (1.4k lines) Happily the functional split divided it almost exactly in half. This is a pure refactoring. There should be no behavioural change.