| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Represent backends with a `Backend` datatype in GHC.Driver.Backend
* Don't detect the default backend to use for the target platform at
compile time in Hadrian/make but at runtime. It makes "Settings"
simpler and it is a step toward making GHC multi-target.
* The latter change also fixes hadrian which has not been updated to
take into account that the NCG now supports AIX and PPC64 (cf
df26b95559fd467abc0a3a4151127c95cb5011b9 and
d3c1dda60d0ec07fc7f593bfd83ec9457dfa7984)
* Also we don't treat iOS specifically anymore (cf
cb4878ffd18a3c70f98bdbb413cd3c4d1f054e1f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Add mising stage1/ directories to object files touched by hc-build, and
give stage=1 as an argument to make install.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Build all the libraries
|
|
|
|
| |
Fix a couple of things, should help this script get further
|
|
|
|
| |
GhcBootLibs=YES when building libraries the first time.
|
|
|
|
| |
Build ghc/lib (untested)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Add SplitObjs=NO and GhcLibWays= to the build.mk when doing an
unregisterised bootstrap.
|
|
|
|
|
| |
Wibbles to the touching of files to avoid unecessary recompilation
when doing 'make install' in a tree after bootstrapping.
|
|
|
|
| |
Some more revisions; it nearly works on my unregisterised setup now.
|
|
|
|
|
| |
Getting closer for GHC 6.x: now gets as far as building a working
compiler from unregisterised HC files.
|
|
|
|
| |
PrimopWrappers hack no longer required.
|
|
|
|
| |
We don't need the MAKEFLAGS hack any more.
|
|
|
|
|
|
| |
Tweaks to make it work again (at least with 5.04.3)
Submitted by: Urban Boquist <boquist@crt.se>
|
|
|
|
| |
updates & fixes to hc-bootstrapping story; from Thomas Nordin
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
Added "--enable-hc-boot-unregisterised" option to configure,
for bootstrapping from unregisterised HC files.
|
|
|
|
|
|
|
|
| |
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 ***
|
|
|
|
| |
remove some unnecessary hacks (eg. building in ghc/utils/unlit early).
|
|
|
|
|
| |
Just build ghc/utils/unlit rather than all of ghc/utils, since the latter
requires a haskell compiler :)
|
|
|
|
| |
Make first glafp-utils and ghc/utils before starting on the .hc's.
|
|
|
|
| |
updates to work with GHC 5, I hope...
|
|
|
|
| |
Added missing !
|
|
|
|
|
|
|
|
| |
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.]
|
|
|
|
|
| |
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).
|
|
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).
|