summaryrefslogtreecommitdiff
path: root/ghc.mk
Commit message (Collapse)AuthorAgeFilesLines
* installation fixesIan Lynagh2013-03-031-1/+1
|
* Use more of the automatically generated INPLACE variablesIan Lynagh2013-03-031-3/+3
|
* Define $(prog)_INPLACE variables automatically, and start using themIan Lynagh2013-03-031-5/+5
|
* Add missing parenthesisIan Lynagh2013-03-031-1/+1
|
* Fix build when dph is not in the tree; fixes #7733Ian Lynagh2013-03-031-1/+1
| | | | Patch from Stephen Blackheath.
* Add PACKAGES_STAGE0 to build-dirs too; fixes #7700Ian Lynagh2013-03-031-8/+8
| | | | | | | | This is sometimes needed when cross-compiling, as some packages may be built in stage 0 but not stage 1. In order to make everything work out, this also removes the requirement that the build-dirs are in dependency order
* Remove a couple more single-use variablesIan Lynagh2013-03-021-2/+2
|
* Remove some single-use build system variablesIan Lynagh2013-03-021-7/+7
|
* small build system tweakIan Lynagh2013-03-021-7/+1
|
* LATEX_DOCS is no longer usedIan Lynagh2013-03-021-1/+0
|
* Make ghc.mk a little prettierIan Lynagh2013-03-011-45/+34
|
* Fix haddocking after the build system changesIan Lynagh2013-03-011-21/+28
|
* Fix when terminfo is built; fixes #7700Ian Lynagh2013-03-011-1/+5
| | | | | | | We now use the 'host' to determine whether stage0 builds terminfo, and 'target' to determine whether stage1 does. We don't build it if the platform is either Windows or ios.
* Rename $(Windows) to $(Windows_Host)Ian Lynagh2013-03-011-8/+8
|
* Change how the build system handles packagesIan Lynagh2013-03-011-148/+113
| | | | | This makes the build system a little simpler, and in particular will make it easier to handle the changes needed for cross-compilation.
* Clarify commentGabor Greif2013-02-261-1/+1
|
* Separate the non-way-specific hs-suffix rulesIan Lynagh2013-02-211-0/+1
| | | | This means we don't define them multiple times
* Split non-way-specific variables off from distdir-way-opts into distdir-optsIan Lynagh2013-02-211-0/+1
| | | | | The hsc2hs, alex and happy options variables are now also non-way-specific, as the files are shared between all ways.
* Rename hs-suffix-rules-srcdir to hs-suffix-way-rules-srcdirIan Lynagh2013-02-211-1/+1
|
* Rename hs-suffix-rules to hs-suffix-way-rulesIan Lynagh2013-02-211-1/+1
|
* Package 'binary' is not a boot package any moreGabor Greif2013-02-201-3/+2
|
* Finish removing BootingFromHcIan Lynagh2013-02-171-10/+0
|
* iOS patch no 2: remove obsolete CROSS_COMPILE variable; #7699Ian Lynagh2013-02-171-2/+0
| | | | From StephenBlackheath
* Fix build on Windows: We don't build terminfo on WindowsIan Lynagh2013-02-161-1/+4
|
* Build the stage0 ghc-pkg with CabalIan Lynagh2013-02-161-4/+6
| | | | | | | This solves the problem of how to define MIN_VERSION_base for the binary package. Also fixed a couple of build system bugs along the way.
* Build system tweak: Do the package checks at configure timeIan Lynagh2013-02-151-17/+0
| | | | | | | | This removes the '.PHONY' rule, so means that "make" in a built tree won't repeat the check. We also now check the .cabal files for the executables as well as the libraries.
* Add a dependency of program modules on GHC.TopHandlerIan Lynagh2013-02-051-0/+1
| | | | | | | | | | | If you were unlucky, the build could fail, e.g.: utils\mkUserGuidePart\Main.hs:1:1: Failed to load interface for `GHC.TopHandler' There are files missing in the `base' package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. utils/mkUserGuidePart/ghc.mk:18: recipe for target `utils/mkUserGuidePart/dist/build/Main.o' failed
* Tweak the gen_contents_index scriptIan Lynagh2013-01-291-1/+1
|
* Disable any packages built with stage 2 when cross-compilingSimon Marlow2013-01-291-0/+2
| | | | Since we can't run stage 2 on the host.
* Fix various issues with a Stage1Only=NO cross-compileSimon Marlow2013-01-251-9/+8
|
* ghc: mkGmpDerivedConstants binary gone awaySergei Trofimovich2013-01-241-1/+0
|
* Tidy up cross-compilingSimon Marlow2013-01-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have two cases: 1. building a cross-compiler 2. compiling GHC to run on a foreign platform These two are done with almost the same setup: (1) is the stage 1 compiler, and (2) is the stage 2 compiler, when CrossCompiling=YES. The only difference between (1) and (2) is that you if you set up the build for (1), then it stops before stage 2 and you can 'make install' to install stage 1. Unfortunately, (2) didn't work, and the build system code needed some tidying up. Change to the way the build is set up: Before ------ To build a cross-compiler: ./configure --target=<..> To compile a foreign GHC: ./configure --host=<..> --target=<..> Now --- To build a cross-compiler: ./configure --target=<..> And set "Stage1Only=YES" in mk/build.mk To compile a foreign GHC: ./configure --target=<..>
* Make the rule for .hi files depend on the .hs/.lhs filesIan Lynagh2013-01-101-4/+0
| | | | | make thought that it could make a .hi file for the C files in libraries, which was causing problems when using dynamic-too.
* Ship transformers with GHCIan Lynagh2013-01-021-11/+11
| | | | | This means that we can use the standard MonadIO class, rather than needing our own copy.
* libffi build system tweaksIan Lynagh2012-11-301-7/+1
|
* Add configure option to use system provided libffi; fixes #5743Ian Lynagh2012-11-291-2/+9
| | | | | | | | | | Based on patch from Peter Trommler: From 293495d40f62e691520331a41c6d85d82e120169 Mon Sep 17 00:00:00 2001 From: Peter Trommler <ptrommler@acm.org> Date: Sun, 21 Oct 2012 18:47:01 +0200 Subject: [PATCH] Add configure option to use system provided libffi This fixes track # 5743 and #4496.
* Fix installing on WindowsIan Lynagh2012-11-131-1/+1
| | | | | nus in #ghc ran into a problem where the wrong filepath was being stripped.
* Replace mkDerivedConstants.c with DeriveConstants.hsIan Lynagh2012-11-121-0/+2
| | | | | | | | | DeriveConstants.hs works in a cross-compilation-friendly way. Rather than running a C program that prints out the constants, we just compile a C file which has the constants are encoded in symbol sizes. We then parse the output of 'nm' to find out what the constants are. Based on work by Gabor Greif <ggreif@gmail.com>.
* Change how dependency generation works; fixes #7381Ian Lynagh2012-11-021-0/+5
| | | | | | We now do the initial dependency generation for the vanilla way regardless of what way flags and hisuf/osuf flags are given. This makes it easier to generate the right dependency info in the end.
* Clean some old files that we no longer generateIan Lynagh2012-10-311-1/+5
| | | | Avoids problems for people with old files in their tree
* Improve the GhcLibWays sanity checkingIan Lynagh2012-10-261-2/+8
|
* Fix installationIan Lynagh2012-10-251-1/+1
| | | | We were calling ranlib on the wrong path
* Fix the haddocking build system rules when dynamic is the default wayIan Lynagh2012-10-251-0/+2
|
* Fix the transformers-building code, and move it from validate to ghc.mkIan Lynagh2012-10-251-0/+24
| | | | | This makes life easier, as ghc.mk has access to HADDOCK_DOCS and DYNAMIC_BY_DEFAULT, so knows the right way to build it.
* Make it possible to build with only way dynIan Lynagh2012-10-241-1/+3
|
* Build system fix for building a profiling GHCIan Lynagh2012-10-161-0/+3
|
* Fix some dependenciesIan Lynagh2012-10-141-0/+2
|
* Move the primop bits into the compiler/stage<n>/build directoriesIan Lynagh2012-10-101-4/+4
| | | | We shouldn't be generating files in the source directories
* Load the right object files in ghciIan Lynagh2012-10-041-0/+6
| | | | When we have a dynamic ghc, we need to load the dynamic object files
* Windows install fixIan Lynagh2012-10-031-1/+1
|