ghc-hetmet.git
20 years ago[project @ 2003-08-18 14:54:40 by panne]
panne [Mon, 18 Aug 2003 14:54:44 +0000 (14:54 +0000)]
[project @ 2003-08-18 14:54:40 by panne]
Ooops, forgot about a dozen references to configure.in... :-}

20 years ago[project @ 2003-08-18 14:35:26 by panne]
panne [Mon, 18 Aug 2003 14:35:27 +0000 (14:35 +0000)]
[project @ 2003-08-18 14:35:26 by panne]
AC_PROG_LEX really checks for the existence of "lex" when "flex" is
not found, so there is no need for AC_PROG_LEX_STRICT.

Furthermore, flex/lex is not really needed for building GHC, so we
issue only a warning instead of dying when flex and lex are not found.

20 years ago[project @ 2003-08-18 13:54:04 by panne]
panne [Mon, 18 Aug 2003 13:54:06 +0000 (13:54 +0000)]
[project @ 2003-08-18 13:54:04 by panne]
Nuked unused FPTOOLS_PROG_YACCY test and support for yacc/bison in
general. If it is ever needed again, it can easily be resurrected.

20 years ago[project @ 2003-08-18 13:15:53 by panne]
panne [Mon, 18 Aug 2003 13:15:56 +0000 (13:15 +0000)]
[project @ 2003-08-18 13:15:53 by panne]
Nuked unused FPTOOLS_REGEX_IN_LIBC test

20 years ago[project @ 2003-08-18 12:46:20 by panne]
panne [Mon, 18 Aug 2003 12:46:21 +0000 (12:46 +0000)]
[project @ 2003-08-18 12:46:20 by panne]
Revamped altzone detection. Note that we test only for successful
compilation now, not for successful linking, but this is what most
autoconf macros do.

20 years ago[project @ 2003-08-18 11:29:58 by panne]
panne [Mon, 18 Aug 2003 11:29:58 +0000 (11:29 +0000)]
[project @ 2003-08-18 11:29:58 by panne]
* Following the autoconf coding style recommendations, use "#" for
  comments, not "dnl".

* Local macros will get the prefix "FP_" instead of "FPTOOLS_". The
  latter is a bit heavyweight and too fptools-centric.

20 years ago[project @ 2003-08-18 11:16:33 by panne]
panne [Mon, 18 Aug 2003 11:16:34 +0000 (11:16 +0000)]
[project @ 2003-08-18 11:16:33 by panne]
Nuked unused tests FPTOOLS_HAVE_TIMEZONE and FPTOOLS_TYPE_TIMEZONE

20 years ago[project @ 2003-08-18 10:57:54 by panne]
panne [Mon, 18 Aug 2003 10:57:54 +0000 (10:57 +0000)]
[project @ 2003-08-18 10:57:54 by panne]
CVS keywords considered harmful

20 years ago[project @ 2003-08-18 10:55:31 by panne]
panne [Mon, 18 Aug 2003 10:55:31 +0000 (10:55 +0000)]
[project @ 2003-08-18 10:55:31 by panne]
We require at least autoconf 2.50 (not 2.52 and/or 2.53?!)

20 years ago[project @ 2003-08-18 10:47:33 by panne]
panne [Mon, 18 Aug 2003 10:47:34 +0000 (10:47 +0000)]
[project @ 2003-08-18 10:47:33 by panne]
The autoconf docs talk about "configure.ac" instead of the misnomer
"configure.in" for more than two years now, so let's do the same.

20 years ago[project @ 2003-08-18 10:33:39 by panne]
panne [Mon, 18 Aug 2003 10:33:41 +0000 (10:33 +0000)]
[project @ 2003-08-18 10:33:39 by panne]
Updated to match latest versions from autoconf repository

20 years ago[project @ 2003-08-18 09:27:54 by dons]
dons [Mon, 18 Aug 2003 09:27:54 +0000 (09:27 +0000)]
[project @ 2003-08-18 09:27:54 by dons]
x86 OpenBSD moves into ELF land
(and sparc, alpha, sparc64 were already there)

Also, it needs sligtly different header files.

And dlopen can only be called with the DL_LAZY argument on this
system.

20 years ago[project @ 2003-08-18 09:24:50 by dons]
dons [Mon, 18 Aug 2003 09:24:50 +0000 (09:24 +0000)]
[project @ 2003-08-18 09:24:50 by dons]
OpenBSD has now moved to ELF on x86 architectures.
So mangle it.

20 years ago[project @ 2003-08-18 09:23:09 by dons]
dons [Mon, 18 Aug 2003 09:23:09 +0000 (09:23 +0000)]
[project @ 2003-08-18 09:23:09 by dons]
OpenBSD x86 has finally moved to ELF.
So it no longer needs a leading underscore on symbols.
However, like FreeBSD, it tries to be friendly, and accept it
anyway. So we have to hard code it.

20 years ago[project @ 2003-08-18 00:14:10 by dons]
dons [Mon, 18 Aug 2003 00:14:10 +0000 (00:14 +0000)]
[project @ 2003-08-18 00:14:10 by dons]
sparc-*-openbsd mangler

20 years ago[project @ 2003-08-18 00:01:07 by dons]
dons [Mon, 18 Aug 2003 00:01:07 +0000 (00:01 +0000)]
[project @ 2003-08-18 00:01:07 by dons]
Add canonical form for sparc-*-openbsd*

20 years ago[project @ 2003-08-17 01:36:54 by sof]
sof [Sun, 17 Aug 2003 01:36:54 +0000 (01:36 +0000)]
[project @ 2003-08-17 01:36:54 by sof]
expandEnvVars.expandString: don't drop prefix when locating variable
reference.

Merge to STABLE.

20 years ago[project @ 2003-08-16 11:19:07 by igloo]
igloo [Sat, 16 Aug 2003 11:19:08 +0000 (11:19 +0000)]
[project @ 2003-08-16 11:19:07 by igloo]
Sparc Linux configure and mangler

20 years ago[project @ 2003-08-15 15:53:00 by igloo]
igloo [Fri, 15 Aug 2003 15:53:01 +0000 (15:53 +0000)]
[project @ 2003-08-15 15:53:00 by igloo]
Add support for splicing in foreign exports.

20 years ago[project @ 2003-08-15 12:43:57 by simonmar]
simonmar [Fri, 15 Aug 2003 12:43:57 +0000 (12:43 +0000)]
[project @ 2003-08-15 12:43:57 by simonmar]
Fix a bug in forkProcess: the current thread should not be on the run
queue while it is running.

Merged from STABLE (1.169.2.1).

20 years ago[project @ 2003-08-15 11:31:02 by simonmar]
simonmar [Fri, 15 Aug 2003 11:31:02 +0000 (11:31 +0000)]
[project @ 2003-08-15 11:31:02 by simonmar]
Fix a cause of non-linearity when compiling code with large amounts of
static data, such as long lists of integers.

The problem was that CorePrep was calling allLazy on the list of
floated bindings at each level of a nested let, and allLazy runs over
all the bindings floated so far, hence O(n^2) performance.  The fix is
to cache the result of allLazy along with the list of floated
bindings.

20 years ago[project @ 2003-08-14 15:43:22 by simonmar]
simonmar [Thu, 14 Aug 2003 15:43:22 +0000 (15:43 +0000)]
[project @ 2003-08-14 15:43:22 by simonmar]
Don't require Alex for building GHC (yet).

20 years ago[project @ 2003-08-14 15:36:13 by simonmar]
simonmar [Thu, 14 Aug 2003 15:36:13 +0000 (15:36 +0000)]
[project @ 2003-08-14 15:36:13 by simonmar]
Reset g0s0->n_to_blocks when using the two-space collector.  Fixes
ever-increasing live data count with +RTS -Sstderr -G1.

20 years ago[project @ 2003-08-14 10:43:10 by simonmar]
simonmar [Thu, 14 Aug 2003 10:43:10 +0000 (10:43 +0000)]
[project @ 2003-08-14 10:43:10 by simonmar]
Fix terrible bug in isNonPtrRep, which was ignoring the possibily of
the 64-bit reps.  The result was that functions with 2 64-bit args
were getting the wrong argument descriptor, leading to crashes.

Thanks to Peter Thiemann for a great bug report.

20 years ago[project @ 2003-08-13 13:35:07 by simonmar]
simonmar [Wed, 13 Aug 2003 13:35:07 +0000 (13:35 +0000)]
[project @ 2003-08-13 13:35:07 by simonmar]
Fix the Alex-version-detecting machinery

20 years ago[project @ 2003-08-13 12:51:01 by simonmar]
simonmar [Wed, 13 Aug 2003 12:51:01 +0000 (12:51 +0000)]
[project @ 2003-08-13 12:51:01 by simonmar]
Add alex to AllProjects

20 years ago[project @ 2003-08-13 12:43:13 by simonmar]
simonmar [Wed, 13 Aug 2003 12:43:13 +0000 (12:43 +0000)]
[project @ 2003-08-13 12:43:13 by simonmar]
Add DERIVED_ALEX_SRCS to maintainer-clean

20 years ago[project @ 2003-08-13 12:34:45 by simonmar]
simonmar [Wed, 13 Aug 2003 12:34:46 +0000 (12:34 +0000)]
[project @ 2003-08-13 12:34:45 by simonmar]
Add Alex support.

20 years ago[project @ 2003-08-13 12:34:04 by simonmar]
simonmar [Wed, 13 Aug 2003 12:34:05 +0000 (12:34 +0000)]
[project @ 2003-08-13 12:34:04 by simonmar]
Detect Alex, and add --use-src-tree-alex option to configure.

20 years ago[project @ 2003-08-11 08:53:39 by simonmar]
simonmar [Mon, 11 Aug 2003 08:53:39 +0000 (08:53 +0000)]
[project @ 2003-08-11 08:53:39 by simonmar]
Revert part of previous commit that sneaked in by accident.

20 years ago[project @ 2003-08-08 16:46:51 by simonmar]
simonmar [Fri, 8 Aug 2003 16:46:51 +0000 (16:46 +0000)]
[project @ 2003-08-08 16:46:51 by simonmar]
Fix string gap.

20 years ago[project @ 2003-08-08 13:22:54 by simonmar]
simonmar [Fri, 8 Aug 2003 13:22:56 +0000 (13:22 +0000)]
[project @ 2003-08-08 13:22:54 by simonmar]
Moved the contents of fptools/happy/alex -r simonm-hackery-branch to
here.  This will become Alex version 2.0 when I've hacked around with
the build and documentation a bit.

20 years ago[project @ 2003-08-08 08:08:47 by simonmar]
simonmar [Fri, 8 Aug 2003 08:08:47 +0000 (08:08 +0000)]
[project @ 2003-08-08 08:08:47 by simonmar]
- Add -main-is to the flag table
- Sort entries in the linker section alphabetically

20 years ago[project @ 2003-08-06 15:26:02 by simonpj]
simonpj [Wed, 6 Aug 2003 15:26:02 +0000 (15:26 +0000)]
[project @ 2003-08-06 15:26:02 by simonpj]
Add a note about readline on Win32

20 years ago[project @ 2003-08-05 15:52:01 by ross]
ross [Tue, 5 Aug 2003 15:52:01 +0000 (15:52 +0000)]
[project @ 2003-08-05 15:52:01 by ross]
punctuation

20 years ago[project @ 2003-08-05 14:01:34 by simonpj]
simonpj [Tue, 5 Aug 2003 14:01:34 +0000 (14:01 +0000)]
[project @ 2003-08-05 14:01:34 by simonpj]
Add another comment

20 years ago[project @ 2003-08-05 12:41:44 by panne]
panne [Tue, 5 Aug 2003 12:41:44 +0000 (12:41 +0000)]
[project @ 2003-08-05 12:41:44 by panne]
* Added QuickCheck package to docs
* Mention OpenGL/GLUT package for Hugs, too

20 years ago[project @ 2003-08-05 12:00:03 by simonmar]
simonmar [Tue, 5 Aug 2003 12:00:03 +0000 (12:00 +0000)]
[project @ 2003-08-05 12:00:03 by simonmar]
Remove special mingw32 case for configuring GMP, since it appears to
be wrong.

20 years ago[project @ 2003-08-05 07:25:56 by panne]
panne [Tue, 5 Aug 2003 07:25:56 +0000 (07:25 +0000)]
[project @ 2003-08-05 07:25:56 by panne]
* Unbreak bootstrapping with GHC >= 6.1
* Nuked CVS keywords, you'll hate them when merging...

20 years ago[project @ 2003-08-04 14:38:59 by simonmar]
simonmar [Mon, 4 Aug 2003 14:38:59 +0000 (14:38 +0000)]
[project @ 2003-08-04 14:38:59 by simonmar]
A couple of small updates that were sitting in my tree..

20 years ago[project @ 2003-08-04 10:06:31 by ross]
ross [Mon, 4 Aug 2003 10:06:31 +0000 (10:06 +0000)]
[project @ 2003-08-04 10:06:31 by ross]
minor rearrangement

20 years ago[project @ 2003-08-01 15:38:41 by panne]
panne [Fri, 1 Aug 2003 15:38:41 +0000 (15:38 +0000)]
[project @ 2003-08-01 15:38:41 by panne]
Compile with -Wall

20 years ago[project @ 2003-08-01 15:10:34 by panne]
panne [Fri, 1 Aug 2003 15:10:34 +0000 (15:10 +0000)]
[project @ 2003-08-01 15:10:34 by panne]
Even more warning police:
* Help GCC a bit with "unitialized" variables.
* Added #include for islower
* Nuked variable `syncs', which always contained the empty string.
  GCC complained about an empty format string, BTW.

20 years ago[project @ 2003-08-01 14:58:47 by panne]
panne [Fri, 1 Aug 2003 14:58:48 +0000 (14:58 +0000)]
[project @ 2003-08-01 14:58:47 by panne]
Warning police: Nuked unused variables.

20 years ago[project @ 2003-08-01 14:50:48 by panne]
panne [Fri, 1 Aug 2003 14:50:50 +0000 (14:50 +0000)]
[project @ 2003-08-01 14:50:48 by panne]
Warning police: GCC complains about built-in function `log' being used
as a non-function, so let's rename it to logFile.

20 years ago[project @ 2003-07-31 23:16:13 by sof]
sof [Thu, 31 Jul 2003 23:16:13 +0000 (23:16 +0000)]
[project @ 2003-07-31 23:16:13 by sof]
disable --enable-win32-dlls, feature not currently on offer

20 years ago[project @ 2003-07-31 17:47:18 by ross]
ross [Thu, 31 Jul 2003 17:47:18 +0000 (17:47 +0000)]
[project @ 2003-07-31 17:47:18 by ross]
add link to parsec package

20 years ago[project @ 2003-07-31 10:07:02 by simonmar]
simonmar [Thu, 31 Jul 2003 10:07:02 +0000 (10:07 +0000)]
[project @ 2003-07-31 10:07:02 by simonmar]
Add comment about the LDV code in UPD_DB_UPDATABLE when
EAGER_BLACKHOLING is no - it looks like it can't possibly work to me.

20 years ago[project @ 2003-07-30 17:09:12 by simonmar]
simonmar [Wed, 30 Jul 2003 17:09:12 +0000 (17:09 +0000)]
[project @ 2003-07-30 17:09:12 by simonmar]
Fix problem with MARK.

Patch submitted by Nicholas Nethercote <njn25@cam.ac.uk>.

20 years ago[project @ 2003-07-30 10:38:42 by simonmar]
simonmar [Wed, 30 Jul 2003 10:38:42 +0000 (10:38 +0000)]
[project @ 2003-07-30 10:38:42 by simonmar]
TEXT_BEFORE_HEAP is not used any more.

20 years ago[project @ 2003-07-30 10:01:46 by simonmar]
simonmar [Wed, 30 Jul 2003 10:01:46 +0000 (10:01 +0000)]
[project @ 2003-07-30 10:01:46 by simonmar]
Throw away an SCC on a single variable.  This seems to be justified:
there can be no work to attribute to the current cost centre when
evaluating a lone variable, other than the act of entering the
closure, and possibly returning immediately if it is a variable.

This also fixes a bug in profiling, which showed up as incorrect
transformations made by the simplifier resulting in extra strictness.
The simplifier assumes (in Simplify.simplLazyBind) that (let x = e in
x) will have been turned into x, but this isn't true if there's an SCC
around the x.

20 years ago[project @ 2003-07-30 09:21:12 by wolfgang]
wolfgang [Wed, 30 Jul 2003 09:21:12 +0000 (09:21 +0000)]
[project @ 2003-07-30 09:21:12 by wolfgang]
OpenGL support for Mac OS X:

In FPTOOLS_CHECK_HTYPE, be ready to include Apple's non-standard
<OpenGL/gl.h>
instead of the usual <GL/gl.h>.

20 years ago[project @ 2003-07-30 09:20:41 by wolfgang]
wolfgang [Wed, 30 Jul 2003 09:20:42 +0000 (09:20 +0000)]
[project @ 2003-07-30 09:20:41 by wolfgang]
OpenGL support for Mac OS X:

"./configure --enable-hopengl" on Mac OS X now uses the OpenGL libs that come
with Apple's "Quartz" display system.
"./configure --enable-hopengl=x11" looks for an X11 implementation of OpenGL
(which is an optional install on Mac OS X).

Added a corresponding "USE_QUARTZ_OPENGL" flag to config.h

20 years ago[project @ 2003-07-29 19:08:40 by panne]
panne [Tue, 29 Jul 2003 19:08:40 +0000 (19:08 +0000)]
[project @ 2003-07-29 19:08:40 by panne]
Revert to previous commit, i.e. ProjectVersion is now a plain "6.1"
again, not "6.1.20030727". It looked like an accidental commit and
broke my build scripts.

20 years ago[project @ 2003-07-29 16:31:39 by igloo]
igloo [Tue, 29 Jul 2003 16:31:39 +0000 (16:31 +0000)]
[project @ 2003-07-29 16:31:39 by igloo]
gcc 3.3's cpp fix on sparc.

Could be merged to stable if it's not too late.

20 years ago[project @ 2003-07-29 10:15:31 by simonpj]
simonpj [Tue, 29 Jul 2003 10:15:31 +0000 (10:15 +0000)]
[project @ 2003-07-29 10:15:31 by simonpj]
Print HsExprs a bit deeper before ... ellipsis

20 years ago[project @ 2003-07-29 10:14:57 by simonpj]
simonpj [Tue, 29 Jul 2003 10:15:10 +0000 (10:15 +0000)]
[project @ 2003-07-29 10:14:57 by simonpj]
Comments only

20 years ago[project @ 2003-07-28 16:16:07 by moran]
moran [Mon, 28 Jul 2003 16:16:07 +0000 (16:16 +0000)]
[project @ 2003-07-28 16:16:07 by moran]
Fix multi-slurp protection (#define was missing).  (No I don't go around
looking at header files for minor problems like this; I was actually trying to
remind myself how to do it, and this was the first place I looked :-)

20 years ago[project @ 2003-07-28 16:05:30 by simonmar]
simonmar [Mon, 28 Jul 2003 16:05:39 +0000 (16:05 +0000)]
[project @ 2003-07-28 16:05:30 by simonmar]
Disable update-in-place.  In its current form, it has a serious bug:
if the thunk being updated happens to have turned into a BLACKHOLE_BQ,
then the mutable list will be corrupted by the update.

Disabling update-in-place has some performance implications: many
programs are not affected, but one program in nofib (nucleic2) goes
about 20% slower.  However, I can get it to go 300% faster by adding a
few strictness annotations and compiling with -funbox-strict-fields.

20 years ago[project @ 2003-07-28 15:59:09 by simonmar]
simonmar [Mon, 28 Jul 2003 15:59:09 +0000 (15:59 +0000)]
[project @ 2003-07-28 15:59:09 by simonmar]
Comments only: the TICK_UPD_*_IN_PLACE aren't relevant any more.

20 years ago[project @ 2003-07-28 15:57:40 by simonmar]
simonmar [Mon, 28 Jul 2003 15:57:40 +0000 (15:57 +0000)]
[project @ 2003-07-28 15:57:40 by simonmar]
TICK_UPD_CON_IN_NEW() in the update code is wrong now, because it
could be a PAP, not just a CON.

20 years ago[project @ 2003-07-28 13:31:37 by simonpj]
simonpj [Mon, 28 Jul 2003 13:31:37 +0000 (13:31 +0000)]
[project @ 2003-07-28 13:31:37 by simonpj]
Reorganise the type-system-extension part of GlaExts docs

20 years ago[project @ 2003-07-28 12:04:27 by simonpj]
simonpj [Mon, 28 Jul 2003 12:04:27 +0000 (12:04 +0000)]
[project @ 2003-07-28 12:04:27 by simonpj]
--------------------------
  Fix an obscure but long-standing bug in Type.applyTys
   --------------------------

The interesting case, which previously killed GHC 6.0, is this
applyTys (forall a.a) [forall b.b, Int]
This really can happen, via dressing up polymorphic types with newtype
clothing.  Here's an example:
newtype R = R (forall a. a->a)
foo = case undefined :: R of

Test simplCore/should_compile/simpl0009 uses this as a test case.

20 years ago[project @ 2003-07-28 10:22:58 by simonpj]
simonpj [Mon, 28 Jul 2003 10:22:58 +0000 (10:22 +0000)]
[project @ 2003-07-28 10:22:58 by simonpj]
Comments only

20 years ago[project @ 2003-07-28 09:01:58 by simonmar]
simonmar [Mon, 28 Jul 2003 09:01:58 +0000 (09:01 +0000)]
[project @ 2003-07-28 09:01:58 by simonmar]
Fix previous patch (backslashes required in multi-line macro defns).

20 years ago[project @ 2003-07-25 14:39:17 by simonmar]
simonmar [Fri, 25 Jul 2003 14:39:17 +0000 (14:39 +0000)]
[project @ 2003-07-25 14:39:17 by simonmar]
Further updates to the hc-file-bundle target: ghc/compiler/utils is
required, and we should also keep ghc/rts/AutoApply.hc.

20 years ago[project @ 2003-07-25 10:22:25 by simonmar]
simonmar [Fri, 25 Jul 2003 10:22:25 +0000 (10:22 +0000)]
[project @ 2003-07-25 10:22:25 by simonmar]
Some more revisions; it nearly works on my unregisterised setup now.

20 years ago[project @ 2003-07-25 08:57:34 by simonmar]
simonmar [Fri, 25 Jul 2003 08:57:34 +0000 (08:57 +0000)]
[project @ 2003-07-25 08:57:34 by simonmar]
Remove multi-line strings in macros (CPP is stricter in GCC 3.3).

From: Oliver Braun.

20 years ago[project @ 2003-07-24 16:31:42 by simonmar]
simonmar [Thu, 24 Jul 2003 16:31:42 +0000 (16:31 +0000)]
[project @ 2003-07-24 16:31:42 by simonmar]
Build genapply when BootingFromHc too - it'll help when compiling the
RTS in the second stage (after turning off BootingFromHc).

20 years ago[project @ 2003-07-24 15:27:27 by simonpj]
simonpj [Thu, 24 Jul 2003 15:27:27 +0000 (15:27 +0000)]
[project @ 2003-07-24 15:27:27 by simonpj]
Wibbles

20 years ago[project @ 2003-07-24 15:12:35 by simonmar]
simonmar [Thu, 24 Jul 2003 15:12:35 +0000 (15:12 +0000)]
[project @ 2003-07-24 15:12:35 by simonmar]
Getting closer for GHC 6.x: now gets as far as building a working
compiler from unregisterised HC files.

20 years ago[project @ 2003-07-24 15:04:41 by simonmar]
simonmar [Thu, 24 Jul 2003 15:04:41 +0000 (15:04 +0000)]
[project @ 2003-07-24 15:04:41 by simonmar]
Fix for building _stub.c files in BootingFromHc mode.

20 years ago[project @ 2003-07-24 14:41:48 by simonpj]
simonpj [Thu, 24 Jul 2003 14:41:56 +0000 (14:41 +0000)]
[project @ 2003-07-24 14:41:48 by simonpj]
Sync deriving( Data ) with the new Data class

20 years ago[project @ 2003-07-24 13:57:20 by simonmar]
simonmar [Thu, 24 Jul 2003 13:57:20 +0000 (13:57 +0000)]
[project @ 2003-07-24 13:57:20 by simonmar]
Let's build genprimopcode when bootstrapping too.  There doesn't seem
to be an easy way around this.

20 years ago[project @ 2003-07-24 13:40:05 by simonmar]
simonmar [Thu, 24 Jul 2003 13:40:05 +0000 (13:40 +0000)]
[project @ 2003-07-24 13:40:05 by simonmar]
Fix for unregisterised bootstrapping

20 years ago[project @ 2003-07-24 12:19:56 by ralf]
ralf [Thu, 24 Jul 2003 12:20:00 +0000 (12:20 +0000)]
[project @ 2003-07-24 12:19:56 by ralf]
Major refactoring of Data/Generics.
This also affects the compiler (because of deriving issues).
This is an intermediate commit.
The library is supposed to compile fine.
But the deriving stuff for Data needs to be revised.
The testsuite for Data/Generics will not pass.
gread is broken at the moment.
So it is strongly recommended not to cvs upd for a few hours or a day.

Detailed description of changes:
- Split up Data/Dynamic into Data/Typeable and Data/Dynamic.
  (This makes clear what part is about TypeReps and cast vs.
   dynamics. The latter is not needed by Data/Generics.)
- Renamed Data/include/Dynamic.h -> Typeable.h to end confusion.
- Split up Data/Generics.hs in a set of modules.
- Revised class Data:
  - Got rid of gunfold but added fromConstr as more primtive one
  - Revised representations of constructors
  - Revised treatment of primitive types
- Revised type of gmapQ; preserved old gmapQ as gmapL
- Added a module Data/Types.hs for treatment of types as values.

This is going somewhere.

20 years ago[project @ 2003-07-24 11:57:48 by simonmar]
simonmar [Thu, 24 Jul 2003 11:57:48 +0000 (11:57 +0000)]
[project @ 2003-07-24 11:57:48 by simonmar]
Fixes to the hc-file-bundle target

20 years ago[project @ 2003-07-24 11:46:01 by simonmar]
simonmar [Thu, 24 Jul 2003 11:46:01 +0000 (11:46 +0000)]
[project @ 2003-07-24 11:46:01 by simonmar]
Only haskell98 and base libraries are needed to link the compiler.

20 years ago[project @ 2003-07-24 11:44:42 by simonmar]
simonmar [Thu, 24 Jul 2003 11:44:42 +0000 (11:44 +0000)]
[project @ 2003-07-24 11:44:42 by simonmar]
More BootingFromHc fixes

20 years ago[project @ 2003-07-24 11:03:07 by simonmar]
simonmar [Thu, 24 Jul 2003 11:03:07 +0000 (11:03 +0000)]
[project @ 2003-07-24 11:03:07 by simonmar]
- Move suffix rules from bootstrap.mk to suffix.mk
- Make the bootstrap suffix rules $(odir)-aware, so they work for the compiler

20 years ago[project @ 2003-07-24 10:47:05 by simonmar]
simonmar [Thu, 24 Jul 2003 10:47:05 +0000 (10:47 +0000)]
[project @ 2003-07-24 10:47:05 by simonmar]
Remove ancient/bogus booting-from-hc stuff.

20 years ago[project @ 2003-07-24 10:38:33 by simonmar]
simonmar [Thu, 24 Jul 2003 10:38:33 +0000 (10:38 +0000)]
[project @ 2003-07-24 10:38:33 by simonmar]
- Remove hslibs stuff (we don't need hslibs for bootstrapping now)
- Add libraries/unix/include to the -I list

20 years ago[project @ 2003-07-24 09:29:10 by simonmar]
simonmar [Thu, 24 Jul 2003 09:29:10 +0000 (09:29 +0000)]
[project @ 2003-07-24 09:29:10 by simonmar]
Set GhcWithInterpreter=NO in stage2

20 years ago[project @ 2003-07-24 07:45:09 by simonpj]
simonpj [Thu, 24 Jul 2003 07:45:09 +0000 (07:45 +0000)]
[project @ 2003-07-24 07:45:09 by simonpj]
Document deriving(Typeable,Data)

20 years ago[project @ 2003-07-24 07:44:21 by simonpj]
simonpj [Thu, 24 Jul 2003 07:44:21 +0000 (07:44 +0000)]
[project @ 2003-07-24 07:44:21 by simonpj]
Add cross refs

20 years ago[project @ 2003-07-24 07:38:54 by simonpj]
simonpj [Thu, 24 Jul 2003 07:38:54 +0000 (07:38 +0000)]
[project @ 2003-07-24 07:38:54 by simonpj]
For GHCi, a recent simplification in TcRnDrive.tc_stmts turned out to
be bogus. Briefly, we were returning *monomorphic* values from a user
stmt (e.g. "let f x y = x>y") when we should wrap the *polymorphic* values.

See the comment with mk_return in tc_stmts.

20 years ago[project @ 2003-07-23 16:19:48 by simonmar]
simonmar [Wed, 23 Jul 2003 16:19:48 +0000 (16:19 +0000)]
[project @ 2003-07-23 16:19:48 by simonmar]
There's no need to pass -u Main_zdmain_closure to the linker, indeed
this causes problems when there isn't a Main_zdmain_closure
(eg. linking a C program using GHC).

merge to STABLE

20 years ago[project @ 2003-07-23 15:42:24 by simonmar]
simonmar [Wed, 23 Jul 2003 15:42:24 +0000 (15:42 +0000)]
[project @ 2003-07-23 15:42:24 by simonmar]
PrimopWrappers hack no longer required.

20 years ago[project @ 2003-07-23 15:35:27 by simonmar]
simonmar [Wed, 23 Jul 2003 15:35:27 +0000 (15:35 +0000)]
[project @ 2003-07-23 15:35:27 by simonmar]
We don't need the MAKEFLAGS hack any more.

20 years ago[project @ 2003-07-23 15:31:06 by simonmar]
simonmar [Wed, 23 Jul 2003 15:31:06 +0000 (15:31 +0000)]
[project @ 2003-07-23 15:31:06 by simonmar]
Fix depend rule for BootingFromHc

20 years ago[project @ 2003-07-23 15:25:32 by simonmar]
simonmar [Wed, 23 Jul 2003 15:25:32 +0000 (15:25 +0000)]
[project @ 2003-07-23 15:25:32 by simonmar]
Something strange was going on with the depend rule and
$(STAMP_PKG_CONF); fix it.

20 years ago[project @ 2003-07-23 15:14:50 by simonmar]
simonmar [Wed, 23 Jul 2003 15:14:50 +0000 (15:14 +0000)]
[project @ 2003-07-23 15:14:50 by simonmar]
- no need for hacky delayed setting of UseGhcForCc
- fix AutoApply.hc rule when BootingFromHc=YES

20 years ago[project @ 2003-07-23 15:13:40 by simonmar]
simonmar [Wed, 23 Jul 2003 15:13:40 +0000 (15:13 +0000)]
[project @ 2003-07-23 15:13:40 by simonmar]
No need to test BootingFromHc (which won't be set yet) before setting
UseGhcForCc.

20 years ago[project @ 2003-07-23 15:12:55 by simonmar]
simonmar [Wed, 23 Jul 2003 15:12:55 +0000 (15:12 +0000)]
[project @ 2003-07-23 15:12:55 by simonmar]
Comment previous commit

20 years ago[project @ 2003-07-23 15:12:30 by simonmar]
simonmar [Wed, 23 Jul 2003 15:12:30 +0000 (15:12 +0000)]
[project @ 2003-07-23 15:12:30 by simonmar]
UseGhcForCc is only relevant when BootingFromHc=NO

20 years ago[project @ 2003-07-23 14:52:25 by simonmar]
simonmar [Wed, 23 Jul 2003 14:52:25 +0000 (14:52 +0000)]
[project @ 2003-07-23 14:52:25 by simonmar]
alpha*-unknown-linux ==> alpha*-unknown-linux*  (from Ian Lynagh)

20 years ago[project @ 2003-07-23 14:05:51 by simonmar]
simonmar [Wed, 23 Jul 2003 14:05:51 +0000 (14:05 +0000)]
[project @ 2003-07-23 14:05:51 by simonmar]
Always create directories for the .o file, not just when using the
compilation manager.

20 years ago[project @ 2003-07-23 13:39:11 by simonmar]
simonmar [Wed, 23 Jul 2003 13:39:11 +0000 (13:39 +0000)]
[project @ 2003-07-23 13:39:11 by simonmar]
Fix egregious bug in the unregisterised case for RET_N, which was
causing an unregisterised compiler to crash.

20 years ago[project @ 2003-07-23 13:08:55 by simonpj]
simonpj [Wed, 23 Jul 2003 13:08:55 +0000 (13:08 +0000)]
[project @ 2003-07-23 13:08:55 by simonpj]
Comments and cosmetics about dataTcOccs

20 years ago[project @ 2003-07-23 13:08:22 by simonpj]
simonpj [Wed, 23 Jul 2003 13:08:22 +0000 (13:08 +0000)]
[project @ 2003-07-23 13:08:22 by simonpj]
Comment case-alternative invariants