| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
GHC only works with Perl versions 5.6 and later; however
the current test greps in a rather non-future-proof way
(explicitly against 5.6 and 5.8).
We instead exploit the "v-string" change in 5.6, which
displays the version string as "v5.x.y", rather than
the earlier format "version 5.xxx_yyy". Hence grepping
against "v5" will make it future proof for a while.
(At least until Perl 6 is installed as the system perl.)
|
|
|
|
|
| |
Bindists should now work again, when doing "make install" at least.
"make in-place" is probably still broken.
|
|
|
|
|
| |
The old code didn't work on Mac OS X, as "which" returns successfully
when it can't find the program.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* configure can be told where ld is
* make an hsc2hs-inplace.bat
* tell Setup configure about foo.bar rather than foo on Windows
* tell Setup configure to pass a --with-cc=$(CC) argument to ./configure
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This happens when the build tree is a link-tree to the source tree,
because lndir will normally omit the _darcs directory.
|
|
|
|
|
| |
Instead of asking for the last 100 patches, we just get the first 500
lines of output from darcs changes (ugh, better ideas welcome).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For non-release builds, we want to append a date to the version number
(e.g. 6.7.20070206). Previously this was done by the nightly build
script, this new method figures out the snapshot version by querying
the darcs repository and finding the date of the most recent patch
(actually it finds the most recent of the last 100 patches, but that
should be good enough). This is done by the configure script.
To handle source distributions, we create a file VERSION in the
top-level directory that contains the version number, and ship this in
the source distribution. The configure script picks up the version
from this file if it doesn't see a _darcs directory.
|
|
|
|
|
| |
Fixes trac #952: Haskell requires consistent overflow behaviour, which
gcc doesn't give without this flag.
|
|
|
|
| |
Basic -fvia-C code generation is there, not much testing.
|
| |
|
|
|
|
|
|
| |
the fop bundle contains fop.bat and fop.sh, but not fop;
let configuration find the latter.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Happy, Alex and Haddock are built separately using Cabal now.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[mingw/msys only]
Undo long-standing workaround for buggy GNU ld's on mingw/msys; i.e.,
the linker wasn't correctly generating relocatable object files when
the number of relocs exceeded 2^16. Worked around the issue by
hackily splitting up the GHCi object file for the larger packages
('base', 'ObjectIO' and 'win32') into a handful of object files,
each with a manageable number of relocs. Tiresome and error-prone
(but the hack has served us well!)
This commit imposes a restriction on the 'ld' you use to compile
up GHC with; it now has to be ld-2.15.x or later (something GHC
binary dists have shipped with since 6.2.2)
|
|
|
|
|
|
|
| |
FPTOOLS_CHECK_HTYPE: correctly scope the resetting of CPPFLAGS; as was,
it got blown away if the value was cached.
Merge to STABLE.
|
|
|
|
|
|
|
| |
Synched all FPTOOLS_CHECK_HTYPE definitions with the latest changes in
libraries/OpenAL/aclocal.m4. Although it is not strictly necessary, keeping
things identical is good for consistency. At some point in time we should
really find a way to eliminate all this redundancy... *sigh*
|
|
|
|
| |
Fixed a few underquoted definitions.
|
|
|
|
| |
Require Perl >= 5.6
|
|
|
|
| |
Fixed & simplified previous commit.
|
|
|
|
| |
Silence the error message when ld doesn't understand the -x option.
|
|
|
|
|
| |
Solaris' sed obviously doesn't like nested \(\), so do the gcc version
detection magic in two steps instead of one.
|
|
|
|
| |
FPTOOLS_HAPPY, FPTOOLS_ALEX: cope with version.mk:ProjectVersion 'x.y.z' formats (ignoring the 'z' patchlevel). Merge to STABLE (I suppose)
|
|
|
|
|
|
|
|
| |
aclocal.m4:FP_PROG_SORT: locate unix-like sort utility; on success, substituted as SortCmd.
-configure.ac: use FP_PROG_SORT
-mk/config.mk.in: added SORT setting..only used by libraries/Makefile
Merge to STABLE
|
|
|
|
| |
Detect and substitue $(GccVersion) properly
|
|
|
|
|
|
|
|
|
| |
Add a special case for Mac OS X to FP_PROG_AR_NEEDS_RANLIB.
On Mac OS X, we need to run ranlib after installing .a files because
they contain a timestamp which will be outdated after installing.
We could do a proper test for that, but it would contain the command
'sleep 6' and still apply only to one platform.
|
|
|
|
| |
Happy 1.15 is now required
|
|
|
|
|
| |
Try again: Complain if --enable-src-tree-{happy,alex,haddock} is
given, but the relevant sources don't exist.
|
|
|
|
| |
Revert previous, used wrong version of aclocal.m4
|
|
|
|
|
| |
Complain if --enable-src-tree-{happy,alex,haddock} is given, but the
relevant sources don't exist.
|
|
|
|
| |
Refactored and cleaned up ld-related tests. Only tested mildly under Linux.
|
|
|
|
|
|
|
|
|
|
| |
Work around problems caused by limit on the length of the command line
in ld, which shows up when building OpenGL on Windows with SplitObjs=YES.
We now pass the names of the input files to ld via a linker script.
This is (probably) only supported by GNU ld, so we now have to detect
GNU ld in the configure script (yawn) and back off to the old method
if we don't have it.
|
|
|
|
|
| |
Sanity check when configuring for mingw32: make sure that $CC is a
mingw gcc before proceeding.
|
|
|
|
|
|
|
| |
Pushed down OpenGL/GLUT/OpenAL autoconf stuff to the respective directories.
All packages are now built automatically if possible and if they are not
explicitly disabled. NOTE: The "--enable-hopengl" option is now split into
"--enable-opengl" and "--enable-glut".
|
|
|
|
| |
Pushed -fomit-frame-pointer test down to ghc subdir + cleanup
|
|
|
|
| |
Pushed "ghc has readline" check down to ghc subdir
|
|
|
|
|
| |
Get rid of SUPPORTS_EMPTY_STRUCTS, and just avoid using empty struct
definitions.
|