Build the dynamic way by default on Linux/amd64
authorIan Lynagh <ian@well-typed.com>
Tue, 25 Sep 2012 18:50:09 +0000 (19:50 +0100)
committerIan Lynagh <ian@well-typed.com>
Wed, 3 Oct 2012 11:11:28 +0000 (12:11 +0100)
commit898cb090c8812704448ec4cb1c10d50df4b7d664
tree526c5f4b47aee447d91af7ce83a819863f105804
parent58eaacc9967b7c627a66d49047fb447ac065706e
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/...
26 files changed:
compiler/main/DriverPipeline.hs
compiler/main/DynFlags.hs
distrib/configure.ac.in
ghc.mk
ghc/ghc.mk
includes/ghc.mk
includes/mkDerivedConstants.c
mk/config.mk.in
mk/validate-settings.mk
rts/ghc.mk
rts/package.conf.in
rules/build-package.mk
rules/build-prog.mk
rules/shell-wrapper.mk
utils/compare_sizes/ghc.mk
utils/genapply/ghc.mk
utils/genprimopcode/ghc.mk
utils/ghc-cabal/Main.hs
utils/ghc-cabal/ghc.mk
utils/ghc-pwd/ghc.mk
utils/ghctags/ghc.mk
utils/hp2ps/ghc.mk
utils/hpc/ghc.mk
utils/mkUserGuidePart/ghc.mk
utils/runghc/ghc.mk
utils/unlit/ghc.mk