12 years agoMajor patch to fix reporting of unused imports [Mon, 6 Jul 2009 11:25:03 +0000 (11:25 +0000)]
Major patch to fix reporting of unused imports

This patch, joint work between and Ian and Simon, fixes Trac #1074
by reporting unused import declarations much more accuratly than
before.  The specification is described at

The implementation is both easier to understand than before, and shorter

Also fixed are #1148, #2267

Also fixed is -ddump-minimal imports, which now works properly, fixing
Trac #1792.

12 years agoTrim unused imports detected by new unused-import code [Mon, 6 Jul 2009 11:22:01 +0000 (11:22 +0000)]
Trim unused imports detected by new unused-import code

12 years agoAvoid unnecessary recompilation after ./configure (helps #3228)
Simon Marlow [Tue, 7 Jul 2009 08:50:40 +0000 (08:50 +0000)]
Avoid unnecessary recompilation after ./configure (helps #3228)
We cache the old versions of files generated by configure, so that if
configure touches the file without changing it, we can detect that and
restore the timestamp.

12 years agocheck for tabs in compiler/ (#3344)
Simon Marlow [Tue, 7 Jul 2009 08:18:45 +0000 (08:18 +0000)]
check for tabs in compiler/ (#3344)

12 years agoremove tabs
Simon Marlow [Tue, 7 Jul 2009 08:18:23 +0000 (08:18 +0000)]
remove tabs

12 years agofix cleaning of libraries (now 'make clean' in libraries/* works again)
Simon Marlow [Fri, 3 Jul 2009 11:46:38 +0000 (11:46 +0000)]
fix cleaning of libraries (now 'make clean' in libraries/* works again)

12 years agoFIX #2677
Manuel M T Chakravarty [Tue, 7 Jul 2009 05:54:42 +0000 (05:54 +0000)]
FIX #2677

12 years agoUpdate driver/Makefile for the new build system
Ian Lynagh [Sun, 5 Jul 2009 20:40:41 +0000 (20:40 +0000)]
Update driver/Makefile for the new build system

12 years agoFix generational GC bug (#3348)
Simon Marlow [Mon, 6 Jul 2009 11:22:27 +0000 (11:22 +0000)]
Fix generational GC bug (#3348)

12 years agoWindows fixes to build system: use the 'find' and 'sort' found by configure [Mon, 6 Jul 2009 10:34:13 +0000 (10:34 +0000)]
Windows fixes to build system: use the 'find' and 'sort' found by configure

The build system should use 'find' and 'sort' that are discovered by
configure, not the ones in your path.  On Windows the ones in your path
might well be the non-Unixy Windows versions.

This patch fixes the ones I tripped over. There may be more.

12 years agoFollow Cabal changes
Ian Lynagh [Sun, 5 Jul 2009 18:04:14 +0000 (18:04 +0000)]
Follow Cabal changes

12 years agoUpdate TODO list
Ian Lynagh [Sun, 5 Jul 2009 16:50:09 +0000 (16:50 +0000)]
Update TODO list

12 years agoMake -fext-core a dynamic flag (it was a static flag)
Ian Lynagh [Sun, 5 Jul 2009 13:24:20 +0000 (13:24 +0000)]
Make -fext-core a dynamic flag (it was a static flag)

12 years agoUpdate a few points about shared libs in other sections
Duncan Coutts [Sat, 4 Jul 2009 21:22:12 +0000 (21:22 +0000)]
Update a few points about shared libs in other sections
And add links to the new shared libs section.

12 years agoDocument -dynload flag. Also add it and -shared to the flags reference.
Duncan Coutts [Sat, 4 Jul 2009 21:21:19 +0000 (21:21 +0000)]
Document -dynload flag. Also add it and -shared to the flags reference.

12 years agoAdd new section on using shared libs
Duncan Coutts [Sat, 4 Jul 2009 21:20:03 +0000 (21:20 +0000)]
Add new section on using shared libs

12 years agoDocument foreign import prim in the user guide
Duncan Coutts [Sat, 4 Jul 2009 18:05:47 +0000 (18:05 +0000)]
Document foreign import prim in the user guide
Basically just stat that it exists and refer to the ghc dev wiki
for the details, because we don't really want people using it.

12 years agoFor now, use -fno-warn-unused-do-bind when building the libraries
Ian Lynagh [Sat, 4 Jul 2009 21:06:54 +0000 (21:06 +0000)]
For now, use -fno-warn-unused-do-bind when building the libraries

12 years agoMake changes to -fwarn-unused-do-bind and -fwarn-wrong-do-bind suggested by SPJ
Max Bolingbroke [Thu, 2 Jul 2009 15:09:43 +0000 (15:09 +0000)]
Make changes to -fwarn-unused-do-bind and -fwarn-wrong-do-bind suggested by SPJ

13 years agoSupport for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263
Max Bolingbroke [Wed, 1 Jul 2009 20:03:44 +0000 (20:03 +0000)]
Support for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263

12 years agoImproved infrastructure for fast-rebuilding of parts of the tree
Simon Marlow [Fri, 3 Jul 2009 07:45:27 +0000 (07:45 +0000)]
Improved infrastructure for fast-rebuilding of parts of the tree


  cd compiler
  make FAST=YES stage1/build/HscTypes.o

builds just the specified .o file, without rebuilding dependencies,
and omitting some of the makefile phases.  FAST=YES works anywhere, to
omit depenencies and phases.  'make fast' is shorthand for 'make
all FAST=YES'.

12 years agoFix Trac #3342: missed zonking in TcHsSyn [Thu, 2 Jul 2009 12:43:31 +0000 (12:43 +0000)]
Fix Trac #3342: missed zonking in TcHsSyn

The type in a ViewPat wasn't being zonked.  Easily fixed.

12 years agoType synonym families may be nullary
Manuel M T Chakravarty [Thu, 2 Jul 2009 08:48:26 +0000 (08:48 +0000)]
Type synonym families may be nullary

12 years agoNew syntax for GADT-style record declarations, and associated refactoring [Thu, 2 Jul 2009 09:46:57 +0000 (09:46 +0000)]
New syntax for GADT-style record declarations, and associated refactoring

The main purpose of this patch is to fix Trac #3306, by fleshing out the
syntax for GADT-style record declraations so that you have a context in
the type.  The new form is
   data T a where
     MkT :: forall a. Eq a => { x,y :: !a } -> T a
See discussion on the Trac ticket.

The old form is still allowed, but give a deprecation warning.

When we remove the old form we'll also get rid of the one reduce/reduce
error in the grammar. Hurrah!

While I was at it, I failed as usual to resist the temptation to do lots of
refactoring.  The parsing of data/type declarations is now much simpler and
more uniform.  Less code, less chance of errors, and more functionality.
Took longer than I planned, though.

ConDecl has record syntax, but it was not being used consistently, so I
pushed that through the compiler.

12 years agoWhite space only [Thu, 2 Jul 2009 09:46:27 +0000 (09:46 +0000)]
White space only

12 years agoComments only [Thu, 2 Jul 2009 09:45:31 +0000 (09:45 +0000)]
Comments only

12 years agoLook through Notes when matching [Thu, 2 Jul 2009 09:44:44 +0000 (09:44 +0000)]
Look through Notes when matching

12 years agoFIX #3197
Manuel M T Chakravarty [Thu, 2 Jul 2009 07:09:05 +0000 (07:09 +0000)]
FIX #3197

13 years agoFix #2197 (properly this time)
Simon Marlow [Wed, 1 Jul 2009 12:23:54 +0000 (12:23 +0000)]
Fix #2197 (properly this time)

$ ./inplace/bin/ghc-stage2 --interactive
GHCi, version 6.11.20090701:  :? for help
ghc-stage2: GHCi cannot be used when compiled with -prof
[1]    32473 exit 1     ./inplace/bin/ghc-stage2 --interactive

13 years agomake GhcProfiled work, and add a "prof" flavour to
Simon Marlow [Wed, 1 Jul 2009 11:42:11 +0000 (11:42 +0000)]
make GhcProfiled work, and add a "prof" flavour to

Building a profiled GHC is as simple as adding

GhcLibWays += p
GhcProfiled = YES

to your and saying 'make'.  Then you have a profiled

13 years agoremove unnecessary $(RM)s
Simon Marlow [Wed, 1 Jul 2009 11:06:09 +0000 (11:06 +0000)]
remove unnecessary $(RM)s

13 years ago'make html' in a library builds the Haddock docs
Simon Marlow [Tue, 30 Jun 2009 11:11:37 +0000 (11:11 +0000)]
'make html' in a library builds the Haddock docs

13 years agofix GC bug introduced with the C finalizer support
Simon Marlow [Tue, 30 Jun 2009 08:08:34 +0000 (08:08 +0000)]
fix GC bug introduced with the C finalizer support

13 years agoAdd a configure test for whether or not __mingw_vfprintf exists
Ian Lynagh [Sat, 27 Jun 2009 15:05:01 +0000 (15:05 +0000)]
Add a configure test for whether or not __mingw_vfprintf exists

13 years agoFix #3319, and do various tidyups at the same time
Simon Marlow [Fri, 26 Jun 2009 09:54:21 +0000 (09:54 +0000)]
Fix #3319, and do various tidyups at the same time
 - converting a THSyn FFI declaration to HsDecl was broken; fixed
 - pretty-printing of FFI declarations was variously bogus; fixed
 - there was an unused "library" field in CImport; removed

13 years agorename cache variable to keep recent autoconfs happy
Ross Paterson [Fri, 26 Jun 2009 13:14:10 +0000 (13:14 +0000)]
rename cache variable to keep recent autoconfs happy

13 years agoAdd buildinfo files to the bindist 2009-06-25
Ian Lynagh [Thu, 25 Jun 2009 13:22:20 +0000 (13:22 +0000)]
Add buildinfo files to the bindist

13 years agoFix Trac #3323: naughty record selectors again [Thu, 25 Jun 2009 07:23:40 +0000 (07:23 +0000)]
Fix Trac #3323: naughty record selectors again

I boobed when I decoupled record selectors from their data types.
The most straightforward and robust fix means attaching the TyCon
of a record selector to its IfaceIdInfo, so

   you'll need to rebuild all .hi files

That said, the fix is easy.

13 years agopropagate the result of atomically properly (fixes #3049)
Simon Marlow [Wed, 24 Jun 2009 14:15:30 +0000 (14:15 +0000)]
propagate the result of atomically properly (fixes #3049)

13 years agoMake C and CMM objects way-dependent
Ian Lynagh [Wed, 24 Jun 2009 13:45:31 +0000 (13:45 +0000)]
Make C and CMM objects way-dependent
In particular, in the integer-gmp package the C and CMM code depends
on the size of STG structures, which vary between ways.

13 years agoadd debug_p and thr_debug_p to $(ALL_WAYS)
Simon Marlow [Wed, 24 Jun 2009 11:02:55 +0000 (11:02 +0000)]
add debug_p and thr_debug_p to $(ALL_WAYS)

13 years agoFix buffering problem when GHCi is using the new IO library
Simon Marlow [Tue, 23 Jun 2009 14:26:23 +0000 (14:26 +0000)]
Fix buffering problem when GHCi is using the new IO library
Behind the scenes, the new IO library always does buffering for read
Handles regardless of NoBuffering.  Normally this isn't visible, but
it causes a problem in GHCi where there are two stdin Handles.

This should fix those ghci test failures that sprung up in full
testsuite runs recently.

13 years agoOptimise the %.hi : %.o rule
Simon Marlow [Tue, 23 Jun 2009 12:49:01 +0000 (12:49 +0000)]
Optimise the %.hi : %.o rule
Previously this rule had a sanity check for the existence of the .o
file.  However, the sanity check is expensive, especially on Windows,
because it requires spawning a shell.  So now we use an empty command

This change reduced the time to do 'make' in an up-to-date tree on
Windows from 33s to 16s for me.  (the actual saving depends on how
much rebuilding you've been doing, and how many .hi files are older
than their .o files).

The comments in this file now describe various versions of the rule
that don't work.

13 years agofix comment
Simon Marlow [Mon, 22 Jun 2009 14:52:49 +0000 (14:52 +0000)]
fix comment

13 years agoAdd boot-pkgs and packages to the source dists
Ian Lynagh [Tue, 23 Jun 2009 22:45:16 +0000 (22:45 +0000)]
Add boot-pkgs and packages to the source dists

13 years agoFix the GHCi debugger so that it can recognise Integers again
Ian Lynagh [Tue, 23 Jun 2009 00:19:46 +0000 (00:19 +0000)]
Fix the GHCi debugger so that it can recognise Integers again

13 years agoFollow Integer changes
Ian Lynagh [Mon, 22 Jun 2009 22:44:23 +0000 (22:44 +0000)]
Follow Integer changes

13 years agoAdd the integer package
Ian Lynagh [Mon, 22 Jun 2009 22:17:16 +0000 (22:17 +0000)]
Add the integer package
integer-gmp's Integer is now wrapped by an Integer type in integer.

13 years agofollow change in System.Posix.Internals.c_open
Simon Marlow [Mon, 22 Jun 2009 14:07:24 +0000 (14:07 +0000)]
follow change in System.Posix.Internals.c_open

13 years agofix 'make 1'
Simon Marlow [Wed, 17 Jun 2009 14:06:57 +0000 (14:06 +0000)]
fix 'make 1'

13 years agoremove unused cruft
Simon Marlow [Wed, 3 Jun 2009 14:33:48 +0000 (14:33 +0000)]
remove unused cruft

13 years agoAdd a couple more symbols to the Linker.c table
Ian Lynagh [Mon, 22 Jun 2009 14:44:43 +0000 (14:44 +0000)]
Add a couple more symbols to the Linker.c table
Fixes ghci loading gmp on Windows

13 years agomakefile tweak
Ian Lynagh [Wed, 17 Jun 2009 12:17:11 +0000 (12:17 +0000)]
makefile tweak

13 years agoAdd an _EXTRA_OBJS variable when linking packages
Ian Lynagh [Tue, 16 Jun 2009 23:17:50 +0000 (23:17 +0000)]
Add an _EXTRA_OBJS variable when linking packages

13 years agoRemove more GMP bits
Ian Lynagh [Tue, 16 Jun 2009 17:37:12 +0000 (17:37 +0000)]
Remove more GMP bits

13 years agoAdd a #endif back that was accidentally removed from
Ian Lynagh [Tue, 16 Jun 2009 17:04:17 +0000 (17:04 +0000)]
Add a #endif back that was accidentally removed from

13 years agoMake sure we aren't passing -Werror in the CFLAGS for configure scripts
Ian Lynagh [Mon, 15 Jun 2009 21:47:58 +0000 (21:47 +0000)]
Make sure we aren't passing -Werror in the CFLAGS for configure scripts
When configure tests for a feature it may not generate warning-free C
code, and thus may think that the feature doesn't exist if -Werror is

13 years agoPass CFLAGS and LDFLAGS to configure scripts
Ian Lynagh [Mon, 15 Jun 2009 20:16:04 +0000 (20:16 +0000)]
Pass CFLAGS and LDFLAGS to configure scripts

13 years ago.cmm rules need to depend on $$($1_$2_HC_DEP), not $$($1_$2_HC)
Ian Lynagh [Mon, 15 Jun 2009 13:33:57 +0000 (13:33 +0000)]
.cmm rules need to depend on $$($1_$2_HC_DEP), not $$($1_$2_HC)

13 years agoMove gmp into libraries/integer-gmp
Ian Lynagh [Sun, 14 Jun 2009 18:31:50 +0000 (18:31 +0000)]
Move gmp into libraries/integer-gmp

13 years agoStop building the rts against gmp
Duncan Coutts [Sat, 13 Jun 2009 19:19:56 +0000 (19:19 +0000)]
Stop building the rts against gmp
Nothing from gmp is used in the rts anymore.

13 years agoRemove the implementation of gmp primops from the rts
Duncan Coutts [Sat, 13 Jun 2009 19:18:51 +0000 (19:18 +0000)]
Remove the implementation of gmp primops from the rts

13 years agoStop setting the gmp memory functions in the rts
Duncan Coutts [Sat, 13 Jun 2009 16:58:41 +0000 (16:58 +0000)]
Stop setting the gmp memory functions in the rts
and remove the implementations of stg(Alloc|Realloc|Dealloc)ForGMP

13 years agoRemove the gmp/Integer primops from the compiler
Duncan Coutts [Sat, 13 Jun 2009 14:24:10 +0000 (14:24 +0000)]
Remove the gmp/Integer primops from the compiler
The implementations are still in the rts.

13 years agoPut the CMM objects in the GHCi library too
Ian Lynagh [Thu, 11 Jun 2009 16:20:38 +0000 (16:20 +0000)]
Put the CMM objects in the GHCi library too

13 years agoAdd rules for building .cmm files in libraries
Ian Lynagh [Thu, 11 Jun 2009 13:40:57 +0000 (13:40 +0000)]
Add rules for building .cmm files in libraries

13 years agoExports a few rts things we need for cmm code in external packages
Duncan Coutts [Sat, 13 Jun 2009 17:06:22 +0000 (17:06 +0000)]
Exports a few rts things we need for cmm code in external packages
In particular we need alloc_blocks and alloc_blocks_lim for MAYBE_GC.
The gmp cmm primops also use stg_ARR_WORDS_info.

13 years agoAdd and export rts_unsafeGetMyCapability from rts
Duncan Coutts [Fri, 12 Jun 2009 11:41:56 +0000 (11:41 +0000)]
Add and export rts_unsafeGetMyCapability from rts
We need this, or something equivalent, to be able to implement
stgAllocForGMP outside of the rts. That's because we want to use
allocateLocal which allocates from the given capability without
having to take any locks. In the gmp primops we're basically in
an unsafe foreign call, that is a context where we hold a current
capability. So it's safe for us to use allocateLocal. We just
need a way to get the current capability. The method to get the
current capability varies depends on whether we're using the
threaded rts or not. When stgAllocForGMP is built inside the rts
that's ok because we can do it conditionally on THREADED_RTS.
Outside the rts we need a single api we can call without knowing
if we're talking to a threaded rts or not, hence this addition.

13 years agoRequire GHCForeignImportPrim for "foreign import prim"
Duncan Coutts [Thu, 11 Jun 2009 20:26:47 +0000 (20:26 +0000)]
Require GHCForeignImportPrim for "foreign import prim"
In practise currently you also need UnliftedFFITypes, however
the restriction to just unlifted types may be lifted in future.

13 years agoAdd missing StgPrimCallOp case in repCCallConv
Duncan Coutts [Thu, 11 Jun 2009 16:59:05 +0000 (16:59 +0000)]
Add missing StgPrimCallOp case in repCCallConv
We don't handle "foreign import prim" in TH stuff.

13 years agoAdd missing StgPrimCallOp case to isSimpleOp
Ian Lynagh [Thu, 11 Jun 2009 12:27:27 +0000 (12:27 +0000)]
Add missing StgPrimCallOp case to isSimpleOp

13 years agoReverse the safe/unsafe requirement on foreign import prim
Duncan Coutts [Thu, 11 Jun 2009 11:52:43 +0000 (11:52 +0000)]
Reverse the safe/unsafe requirement on foreign import prim
The safe/unsafe annotation doesn't currently mean anything for prim.
Just in case we decide it means something later it's better to stick
to using one or the other consistently. We decided that using safe
is the better one to require (and it's also the default).

13 years agoAdd PrimCall to the STG layer and update Core -> STG translation
Duncan Coutts [Tue, 9 Jun 2009 15:11:55 +0000 (15:11 +0000)]
Add PrimCall to the STG layer and update Core -> STG translation
It adds a third case to StgOp which already hold StgPrimOp and StgFCallOp.
The code generation for the new StgPrimCallOp case is almost exactly the
same as for out-of-line primops. They now share the tailCallPrim function.
In the Core -> STG translation we map foreign calls using the "prim"
calling convention to the StgPrimCallOp case. This is because in Core we
represent prim calls using the ForeignCall stuff. At the STG level however
the prim calls are really much more like primops than foreign calls.

13 years agoDesugaring for "foreign import prim"
Duncan Coutts [Tue, 9 Jun 2009 10:59:45 +0000 (10:59 +0000)]
Desugaring for "foreign import prim"
Unlike normal foreign imports which desugar into a separate worker and
wrapper, we use just a single wrapper decleration. The representation
in Core of the call is currently as a foreign call. This means the
args are all treated as fully strict. This is ok at the moment because
we restrict the types for foreign import prim to be of unboxed types,
however in future we may want to make prim imports be the normal cmm
calling convention for Haskell functions, in which case we would not
be able to assume all args are strict. At that point it may make more
sense to represent cmm/prim calls distinct from foreign calls, and
more like the we the existing PrimOp calls are handled.

13 years agoTypechecking for "foreign import prim"
Duncan Coutts [Tue, 9 Jun 2009 10:48:26 +0000 (10:48 +0000)]
Typechecking for "foreign import prim"
The main restriction is that all args and results must be unboxed types.
In particular we allow unboxed tuple results (which is a primary
motivation for the whole feature). The normal rules apply about
"void rep" result types like State#. We only allow "prim" calling
convention for import, not export. The other forms of import, "dynamic",
"wrapper" and data label are banned as a conseqence of checking that the
imported name is a valid C string. We currently require prim imports to
be marked unsafe, though this is essentially arbitrary as the safety
information is unused.

13 years agoLexing and parsing for "foreign import prim"
Duncan Coutts [Tue, 9 Jun 2009 10:45:36 +0000 (10:45 +0000)]
Lexing and parsing for "foreign import prim"
We only allow simple function label imports, not the normal complicated
business with "wrapper" "dynamic" or data label "&var" imports.

13 years agoAdd new FFI calling convention "prim"
Duncan Coutts [Tue, 9 Jun 2009 10:44:03 +0000 (10:44 +0000)]
Add new FFI calling convention "prim"
First in a series of patches to add the feature.
This patch just adds PrimCallConv to the CCallConv type.

13 years agoThe IO type has moved to GHC.Types in ghc-prim
Ian Lynagh [Sat, 20 Jun 2009 15:51:54 +0000 (15:51 +0000)]
The IO type has moved to GHC.Types in ghc-prim

13 years agoFix the way in the +RTS --info output
Ian Lynagh [Sat, 20 Jun 2009 14:26:00 +0000 (14:26 +0000)]
Fix the way in the +RTS --info output

13 years agoSet DELETE_ON_ERROR in
Ian Lynagh [Wed, 17 Jun 2009 12:18:06 +0000 (12:18 +0000)]

13 years agoFix the ghci wrapper
Ian Lynagh [Tue, 16 Jun 2009 18:25:01 +0000 (18:25 +0000)]
Fix the ghci wrapper
The ${1+"$@"} was being evaluated by make, rather than being escaped.

13 years agoFix #3132: a case of bogus code generation
Simon Marlow [Thu, 18 Jun 2009 09:07:18 +0000 (09:07 +0000)]
Fix #3132: a case of bogus code generation

13 years agoFix #3279, #3288: fix crash encountered when calling unblock inside unsafePerformIO
Simon Marlow [Tue, 16 Jun 2009 15:24:55 +0000 (15:24 +0000)]
Fix #3279, #3288: fix crash encountered when calling unblock inside unsafePerformIO
See comments for details

13 years agodrop packedstring; it is no longer required by template-haskell
Simon Marlow [Mon, 18 May 2009 12:09:57 +0000 (12:09 +0000)]
drop packedstring; it is no longer required by template-haskell

13 years agosuggest "cd <dir>; make help"
Simon Marlow [Tue, 16 Jun 2009 08:57:08 +0000 (08:57 +0000)]
suggest "cd <dir>; make help"

13 years agoAdd support for 'make help' in subdirectories
Simon Marlow [Tue, 16 Jun 2009 08:53:41 +0000 (08:53 +0000)]
Add support for 'make help' in subdirectories
Including help for directory-specific targets, such as 'make 1' in ghc

13 years agomention 'make {html,ps,pdf}'
Simon Marlow [Tue, 16 Jun 2009 08:53:02 +0000 (08:53 +0000)]
mention 'make {html,ps,pdf}'

13 years agoeliminate "warning: overriding commnds..." from make when we're cleaning
Simon Marlow [Tue, 16 Jun 2009 08:44:51 +0000 (08:44 +0000)]
eliminate "warning: overriding commnds..." from make when we're cleaning

13 years agoAdd 'make help', displaying a list of useful make targets
Simon Marlow [Mon, 15 Jun 2009 14:00:08 +0000 (14:00 +0000)]
Add 'make help', displaying a list of useful make targets

13 years agoAdd 'make fast' which omits deps (for a library) and some of the phases
Simon Marlow [Mon, 15 Jun 2009 13:58:01 +0000 (13:58 +0000)]
Add 'make fast' which omits deps (for a library) and some of the phases

13 years agoadd the missing final row of dashes in the success message
Simon Marlow [Mon, 15 Jun 2009 13:57:16 +0000 (13:57 +0000)]
add the missing final row of dashes in the success message

13 years ago'make 1' in libraries builds just the stage1 libs
Simon Marlow [Mon, 15 Jun 2009 13:56:51 +0000 (13:56 +0000)]
'make 1' in libraries builds just the stage1 libs
i.e. not dph, and hence not stage2

13 years agoadd 'make stage1_libs', to make just the stage 1 libs
Simon Marlow [Mon, 15 Jun 2009 13:55:32 +0000 (13:55 +0000)]
add 'make stage1_libs', to make just the stage 1 libs
i.e. not dph, and hence not the stage 2 compiler.

13 years agocopyFileWithHeader: use binary Handles
Simon Marlow [Mon, 15 Jun 2009 11:05:45 +0000 (11:05 +0000)]
copyFileWithHeader: use binary Handles
Fixes failure when Haddocking Data.Monoid in libraries/base

13 years agoInclude runghc and unlit in bindists
Ian Lynagh [Sat, 13 Jun 2009 16:17:07 +0000 (16:17 +0000)]
Include runghc and unlit in bindists

13 years agoImprove bindist testing
Ian Lynagh [Sat, 13 Jun 2009 16:15:16 +0000 (16:15 +0000)]
Improve bindist testing
We now also test runghc and unlit

13 years agoRemove the haskeline-specific hacks from ghc-cabal
Ian Lynagh [Fri, 12 Jun 2009 23:58:23 +0000 (23:58 +0000)]
Remove the haskeline-specific hacks from ghc-cabal
Now that base does -liconv when it is necessary, it is no longer
necessary for haskeline to do it as well, as haskeline depends on base.
Thus we don't need the haskeline-specific hacks in ghc-cabal any more.

13 years agoRemove library buildinfo files when cleaning
Ian Lynagh [Fri, 12 Jun 2009 23:38:18 +0000 (23:38 +0000)]
Remove library buildinfo files when cleaning

13 years agoUpdate symbol names; fixes the build on OSX
Ian Lynagh [Fri, 12 Jun 2009 19:40:29 +0000 (19:40 +0000)]
Update symbol names; fixes the build on OSX

13 years agodon't check for stack underflow if we just had an overflow
Simon Marlow [Wed, 10 Jun 2009 10:47:48 +0000 (10:47 +0000)]
don't check for stack underflow if we just had an overflow