Add a header to all build system files: # ----------------------------------------------------------------------------- # # (c) 2009 The University of Glasgow # # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # -----------------------------------------------------------------------------
GHC new build system megapatch
Fix ghc and ghci wrappers on Windows
Make versioned ghc and ghci programs on Windows; fixes trac #2827
Gix the ghcii script The ghc executable name doesn't have a version number on Windows, so don't put one in the script.
Make the ghci scripts point to the versioned GHC program, not just "ghc"
Fix the ghci script; fixes trac #2485
bindists are now some way towards working
Make ghcii.sh executable
clean ghci-inplace
Fix copy+paste-o, spotted by Simon Marlow
Fix bindist creation on Windows
Use DESTDIR when installing
Remove odd recursive call in the driver/ghci Makefile I'm not sure why this was here, but it makes ghci.o get built twice on Windows, which can cause the build to fail if it tries to link it in the middle.
windres to use the gcc given as --with-cc.
Fix ghcii.sh creation
Fix bindist creation Bindists should now work again, when doing "make install" at least. "make in-place" is probably still broken.
Rework the build system a bit Key changes: * Always build as if BIN_DIST is 1. BIN_DIST is thus removed. * Libraries are configured with prefix set to $$topdir rather than $(prefix)
Reorganisation of the source tree 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.