[commit: ghc] master: Build the dynamic way by default on Linux/amd64 (898cb09)
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/898cb090c8812704448ec4cb1c10d50df4b7d664 >--------------------------------------------------------------- commit 898cb090c8812704448ec4cb1c10d50df4b7d664 Author: Ian Lynagh <[email protected]> Date: Tue Sep 25 19:50:09 2012 +0100 Build the dynamic way by default on Linux/amd64 This required various build system changes to get the build to go through. In the inplace shell wrappers, we set LD_LIBRARY_PATH to allow programs to find their libraries. In the future, we might change the inplace tree to be the same shape as an installed tree instead. However, this would mean changing the way we do installation, as currently we use cabal's installation methods to install the libraries, but that only works if the libraries are under libraries/foo/dist-install/build/..., rather than in inplace/lib/... compiler/main/DriverPipeline.hs | 7 +- compiler/main/DynFlags.hs | 20 ++++-- distrib/configure.ac.in | 2 +- ghc.mk | 58 ++++++++++++----- ghc/ghc.mk | 3 + includes/ghc.mk | 5 ++ includes/mkDerivedConstants.c | 8 +++ mk/config.mk.in | 6 ++ mk/validate-settings.mk | 7 ++- rts/ghc.mk | 6 +- rts/package.conf.in | 2 +- rules/build-package.mk | 7 ++ rules/build-prog.mk | 40 ++++++++++-- rules/shell-wrapper.mk | 61 +++++++----------- utils/compare_sizes/ghc.mk | 1 + utils/genapply/ghc.mk | 1 + utils/genprimopcode/ghc.mk | 1 + utils/ghc-cabal/Main.hs | 134 ++++++++++++++++++++++++++------------- utils/ghc-cabal/ghc.mk | 1 + utils/ghc-pwd/ghc.mk | 2 + utils/ghctags/ghc.mk | 9 ++- utils/hp2ps/ghc.mk | 15 +++-- utils/hpc/ghc.mk | 7 +- utils/mkUserGuidePart/ghc.mk | 9 ++- utils/runghc/ghc.mk | 1 + utils/unlit/ghc.mk | 1 + 26 files changed, 275 insertions(+), 139 deletions(-) Diff suppressed because of size. To see it, use: git show 898cb090c8812704448ec4cb1c10d50df4b7d664