summaryrefslogtreecommitdiff
path: root/distrib/hc-build
Commit message (Collapse)AuthorAgeFilesLines
* Rip out object splittingBen Gamari2019-03-051-1/+0
| | | | | | | | | | | | | | | The splitter is an evil Perl script that processes assembler code. Its job can be done better by the linker's --gc-sections flag. GHC passes this flag to the linker whenever -split-sections is passed on the command line. This is based on @DemiMarie's D2768. Fixes Trac #11315 Fixes Trac #9832 Fixes Trac #8964 Fixes Trac #8685 Fixes Trac #8629
* Tweak hc-buildIan Lynagh2007-01-191-2/+4
| | | | | | | | Touch all the object files at the end of hc-build, as otherwise make gets upset as the .h files are newer than them and tries to rebuild stuff (and fails). Print a nice message when we're finished.
* Fixes for the porting process for 6.6Ian Lynagh2006-10-031-0/+2
|
* Missing stage1's in hc-buildIan Lynagh2006-08-211-2/+2
| | | | | Add mising stage1/ directories to object files touched by hc-build, and give stage=1 as an argument to make install.
* additions from Reilly HayesSimon Marlow2006-05-101-0/+4
|
* update for new source tree layout (untested)Simon Marlow2006-05-051-3/+6
|
* Reorganisation of the source treeSimon Marlow2006-04-071-12/+9
| | | | | | | | | | | | | | | 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.
* [project @ 2005-03-04 14:24:51 by simonmar]simonmar2005-03-041-1/+4
| | | | Build all the libraries
* [project @ 2005-03-04 14:06:55 by simonmar]simonmar2005-03-041-2/+2
| | | | Fix a couple of things, should help this script get further
* [project @ 2005-01-27 11:30:49 by simonmar]simonmar2005-01-271-3/+3
| | | | GhcBootLibs=YES when building libraries the first time.
* [project @ 2005-01-26 16:08:55 by simonmar]simonmar2005-01-261-0/+3
| | | | Build ghc/lib (untested)
* [project @ 2004-10-06 00:56:59 by dons]dons2004-10-061-3/+3
| | | | | | | | Use >> append onto build.mk, so that build scripts can add extra vars to build.mk. Replace grep \(a\|b\) with [ab]. \| is an extended regex, whereas the [] class is a basic RE -- so it works with BSD grep.
* [project @ 2003-09-03 11:15:19 by simonmar]simonmar2003-09-031-0/+2
| | | | | Add SplitObjs=NO and GhcLibWays= to the build.mk when doing an unregisterised bootstrap.
* [project @ 2003-09-02 10:26:53 by simonmar]simonmar2003-09-021-7/+4
| | | | | Wibbles to the touching of files to avoid unecessary recompilation when doing 'make install' in a tree after bootstrapping.
* [project @ 2003-07-25 10:22:25 by simonmar]simonmar2003-07-251-20/+25
| | | | Some more revisions; it nearly works on my unregisterised setup now.
* [project @ 2003-07-24 15:12:35 by simonmar]simonmar2003-07-241-13/+16
| | | | | Getting closer for GHC 6.x: now gets as far as building a working compiler from unregisterised HC files.
* [project @ 2003-07-23 15:42:24 by simonmar]simonmar2003-07-231-4/+0
| | | | PrimopWrappers hack no longer required.
* [project @ 2003-07-23 15:35:27 by simonmar]simonmar2003-07-231-5/+0
| | | | We don't need the MAKEFLAGS hack any more.
* [project @ 2003-03-31 12:22:11 by simonmar]simonmar2003-03-311-12/+23
| | | | | | Tweaks to make it work again (at least with 5.04.3) Submitted by: Urban Boquist <boquist@crt.se>
* [project @ 2002-01-15 05:39:14 by sof]sof2002-01-151-2/+8
| | | | updates & fixes to hc-bootstrapping story; from Thomas Nordin
* [project @ 2001-08-12 12:10:22 by simonmar]simonmar2001-08-121-9/+38
| | | | | | | | | | | Update the hc-build script to the recipe I'm using for the FreeBSD package build. The main improvement is that after running this script the resulting tree should be ready for a 'make install' from the top level. This is highly fragile and relies on touching various files to avoid having to recompile anything that will fail :-) The FreeBSD package that this derives from is well tested, but I haven't tested the script itself yet.
* [project @ 2001-07-23 23:10:03 by ken]ken2001-07-231-1/+1
| | | | | | Fixed: The second-stage compilation in this script should use the compiler built in the first stage. Also, configure wants to find Happy, so we feed it fake-happy (presuming that the ghc-less machine also does not have happy).
* [project @ 2001-07-23 22:33:52 by ken]ken2001-07-231-1/+1
| | | | | Added "--enable-hc-boot-unregisterised" option to configure, for bootstrapping from unregisterised HC files.
* [project @ 2001-05-22 14:48:28 by simonmar]simonmar2001-05-221-2/+5
| | | | | | | | Need to make ghc/utils in the second stage before we clean in ghc/lib/std, because hsc2hs is needed to boot ghc/lib/std, but the libraries are needed to build hsc2hs itself. *** MERGE ***
* [project @ 2001-04-24 13:48:01 by simonmar]simonmar2001-04-241-7/+6
| | | | remove some unnecessary hacks (eg. building in ghc/utils/unlit early).
* [project @ 2001-04-04 15:50:30 by sewardj]sewardj2001-04-041-1/+1
| | | | | Just build ghc/utils/unlit rather than all of ghc/utils, since the latter requires a haskell compiler :)
* [project @ 2001-04-04 14:50:01 by sewardj]sewardj2001-04-041-0/+2
| | | | Make first glafp-utils and ghc/utils before starting on the .hc's.
* [project @ 2001-03-27 11:38:19 by simonmar]simonmar2001-03-271-11/+17
| | | | updates to work with GHC 5, I hope...
* [project @ 2000-09-26 01:54:56 by chak]chak2000-09-261-1/+1
| | | | Added missing !
* [project @ 2000-08-22 08:03:15 by chak]chak2000-08-221-3/+15
| | | | | | | | Works now independent of whether GNU make is installed as gmake or make on the system. [lewie: It was not so good to just change `make' to `gmake'; broke the thing on our Solaris boxen, which have GNU make as the default make.]
* [project @ 2000-08-04 23:31:43 by lewie]lewie2000-08-041-3/+3
| | | | | Port to OpenBSD from Thomas Nordin. Please merge with 4.08 (you'll also need the new config.guess and config.sub from the previous commit).
* [project @ 2000-06-18 12:13:56 by chak]chak2000-06-181-0/+34
Script that automates building GHC from .hc files. ?? Shall I edit the corresponding section in building.sgml to advise the use ?? of this script (thus replacing the outdated description of the manual ?? steps - which is wrong anyway).