| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Basic -fvia-C code generation is there, not much testing.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Fixes #660
|
|
|
|
|
| |
Use perl rather than sed to munge the package.conf file; avoids
portability problems with sed (previous version didn't work on Solaris).
|
|
|
|
|
|
| |
Support i386-apple-darwin for binary dists.
MERGE TO STABLE
|
|
|
|
| |
use test -f instead of -s, for portability.
|
|
|
|
| |
Remove some non-portable uses of /bin/test, from Christian Maeder.
|
|
|
|
| |
permit mingw_* vars to be overridden; merge to STABLE
|
|
|
|
| |
re-use prep-bin-dist-mingw by exec'ing it. Merge to STABLE
|
|
|
|
| |
leave out Java bits in include/ that mingw-3.2 supplies; temporarily disable PDF document generation
|
|
|
|
|
|
| |
Mac OS X: Make bindist work with dynamic libraries
MERGE TO STABLE
|
|
|
|
|
| |
configure-bin.ac: I didn't know this file existed.
Add powerpc-linux and powerpc64-linux targets.
|
|
|
|
| |
Add x86_64 platforms
|
|
|
|
| |
Allow for optional binary installation
|
|
|
|
| |
Build all the libraries
|
|
|
|
| |
Fix a couple of things, should help this script get further
|
|
|
|
| |
Fix sed command line
|
|
|
|
| |
GhcBootLibs=YES when building libraries the first time.
|
|
|
|
| |
Build ghc/lib (untested)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fill in the haddock-interfaces and haddock-html fields in the
package.conf files.
To do this I had to make some changes:
- haddock-interfaces requires the value of $(datadir). We can't
just plug this in, because $(datadir) might change at install-time
(eg. a Windows installer can be placed anywhere, as can a Unix
binary .tar.gz distribution). The current trick is for the
compiler to splice in the value of $libdir in package.conf at
runtime. So we could extend this mechanism and tell the compiler
the value of $datadir via a command-line option, but that seems
ugly.
On Windows, $datadir==$libdir, so we don't need any changes:
package.conf still uses $libdir, and a Windows installation is
independent of its absolute location. Even 'make install' on
Windows should have this property.
On Unix:
- for 'make install' and in-place execution, we just use
absolute paths in package.conf
- for a binary dist, we generate a package.conf that refers
to $libdir and $datadir, and splice in the values at
install-time (distrib/Makefile-bin.in).
- Also, I renamed $libdir to $topdir to more closely reflect its
actual meaning. This is somewhat malicious in that it will flush
out all those clients using $libdir when they really shouldn't
be :-)
|
|
|
|
| |
Pushed -fomit-frame-pointer test down to ghc subdir + cleanup
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
- set mingw_top, old_ghc_top, gcc_version defaults if not
defined in the environment block.
- bundle ar.exe (as bin/ar.exe)
- more comments
|
|
|
|
| |
General cleanup and updates.
|
|
|
|
| |
Rejig haddock and alex.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
green-card => greencard
Green Card => GreenCard
Although Alastair prefers "Greencard", the library's name is
"Foreign.GreenCard", and unless we change this, too, "GreenCard" is
more consistent.
|
|
|
|
| |
Ooops, forgot about a dozen references to configure.in... :-}
|
|
|
|
| |
A couple of small updates that were sitting in my tree..
|
|
|
|
| |
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.
|
|
|
|
| |
Set GhcWithInterpreter=NO in stage2
|
|
|
|
| |
PrimopWrappers hack no longer required.
|
|
|
|
| |
We don't need the MAKEFLAGS hack any more.
|
|
|
|
|
| |
Commit an untested, but hopefully more workable and up-to-date version
of this script.
|
|
|
|
|
|
| |
Tweaks to make it work again (at least with 5.04.3)
Submitted by: Urban Boquist <boquist@crt.se>
|
|
|
|
|
|
|
| |
- Don't use non-portable autoconfery (this configure script was broken
with newer autoconfs)
- Use FPTOOLS_SHEBANG_PERL from aclocal.m4 rather than local copy.
|
|
|
|
| |
Towards a MinGW32 binary distribution with all accessories + compiler.
|
|
|
|
| |
A new rejig script which takes arguments rather than hardwired locations.
|