ghc-hetmet.git
15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:30:17 +0000 (17:30 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:26:14 +0000 (17:26 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:24:01 +0000 (17:24 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:22:42 +0000 (17:22 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:22:22 +0000 (17:22 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:21:39 +0000 (17:21 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:21:14 +0000 (17:21 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:20:54 +0000 (17:20 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:20:10 +0000 (17:20 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:17:23 +0000 (17:17 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:15:54 +0000 (17:15 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:15:29 +0000 (17:15 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:14:24 +0000 (17:14 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:11:13 +0000 (17:11 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:07:08 +0000 (17:07 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:06:01 +0000 (17:06 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 17:04:21 +0000 (17:04 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 16:58:45 +0000 (16:58 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 16:56:37 +0000 (16:56 +0000)]
Fix Haddock errors.

15 years agoFix Haddock errors.
Thomas Schilling [Sun, 20 Jul 2008 16:41:33 +0000 (16:41 +0000)]
Fix Haddock errors.

15 years agoProperly comment out unused pragmas
Ian Lynagh [Sun, 20 Jul 2008 13:56:04 +0000 (13:56 +0000)]
Properly comment out unused pragmas
We now say
    -- {-# SPECIALIZE ...
rather than
    {-# -- SPECIALIZE ...

15 years agoAdd a WARNING pragma
Ian Lynagh [Sun, 20 Jul 2008 12:09:18 +0000 (12:09 +0000)]
Add a WARNING pragma

15 years agoPut a #! line in ghc-pkg's shell wrapper
Ian Lynagh [Sat, 19 Jul 2008 11:25:44 +0000 (11:25 +0000)]
Put a #! line in ghc-pkg's shell wrapper

15 years agoFix ghc-pkg inplace on Windows
Ian Lynagh [Sat, 19 Jul 2008 00:26:13 +0000 (00:26 +0000)]
Fix ghc-pkg inplace on Windows

15 years agoSome "install" and "clean" fixes
Ian Lynagh [Fri, 18 Jul 2008 22:36:56 +0000 (22:36 +0000)]
Some "install" and "clean" fixes

15 years agoChange how inplace detection works, so that it also works on Windows
Ian Lynagh [Fri, 18 Jul 2008 21:08:36 +0000 (21:08 +0000)]
Change how inplace detection works, so that it also works on Windows

15 years agoMore dependency wibbling
Ian Lynagh [Fri, 18 Jul 2008 19:34:54 +0000 (19:34 +0000)]
More dependency wibbling

15 years agoBuild system tweaks
Ian Lynagh [Fri, 18 Jul 2008 18:47:06 +0000 (18:47 +0000)]
Build system tweaks

15 years agoWe need to make Parser.y and Config.hs earlier
Ian Lynagh [Fri, 18 Jul 2008 18:04:41 +0000 (18:04 +0000)]
We need to make Parser.y and Config.hs earlier

15 years agoExplicitly list HpcParser as a module in hpc-bin
Ian Lynagh [Fri, 18 Jul 2008 17:46:57 +0000 (17:46 +0000)]
Explicitly list HpcParser as a module in hpc-bin
Cabal doesn't preprocess the .y file otherwise.

15 years agoDisable building pwd and lndir for now
Ian Lynagh [Fri, 18 Jul 2008 17:03:29 +0000 (17:03 +0000)]
Disable building pwd and lndir for now

15 years agoBuild hpc with Cabal
Ian Lynagh [Fri, 18 Jul 2008 17:00:47 +0000 (17:00 +0000)]
Build hpc with Cabal

15 years agoBuild runghc with Cabal
Ian Lynagh [Fri, 18 Jul 2008 16:53:17 +0000 (16:53 +0000)]
Build runghc with Cabal

15 years agoAdd a comment
Ian Lynagh [Fri, 18 Jul 2008 15:42:38 +0000 (15:42 +0000)]
Add a comment

15 years agoTweak the build system for installPackage
Ian Lynagh [Fri, 18 Jul 2008 15:39:56 +0000 (15:39 +0000)]
Tweak the build system for installPackage

15 years agoMore build system changes; hasktags is now built with Cabal
Ian Lynagh [Fri, 18 Jul 2008 15:34:59 +0000 (15:34 +0000)]
More build system changes; hasktags is now built with Cabal

15 years agoRemove a comment
Ian Lynagh [Fri, 18 Jul 2008 11:50:44 +0000 (11:50 +0000)]
Remove a comment

15 years agoMore build system changes; ghc-pkg is now built with Cabal
Ian Lynagh [Fri, 18 Jul 2008 11:47:53 +0000 (11:47 +0000)]
More build system changes; ghc-pkg is now built with Cabal

15 years agoFix some argument names
Ian Lynagh [Thu, 17 Jul 2008 22:35:43 +0000 (22:35 +0000)]
Fix some argument names

15 years agoTweak the hsc2hs wrapper script
Ian Lynagh [Thu, 17 Jul 2008 19:49:16 +0000 (19:49 +0000)]
Tweak the hsc2hs wrapper script

15 years agoFix the order in which things get built
Ian Lynagh [Thu, 17 Jul 2008 19:24:02 +0000 (19:24 +0000)]
Fix the order in which things get built

15 years agoSplit building the ghc package and binary into "boot" and "all" steps
Ian Lynagh [Thu, 17 Jul 2008 15:07:46 +0000 (15:07 +0000)]
Split building the ghc package and binary into "boot" and "all" steps
In "boot" we configure, and in "all" we do the actual building.

15 years agoInstall the compiler during make install
Ian Lynagh [Thu, 17 Jul 2008 15:04:53 +0000 (15:04 +0000)]
Install the compiler during make install
For now we always install stage 2

15 years agoDo the building and installing of hsc2hs with the stage1 compiler
Ian Lynagh [Thu, 17 Jul 2008 15:04:20 +0000 (15:04 +0000)]
Do the building and installing of hsc2hs with the stage1 compiler

15 years agoRemove some duplication
Ian Lynagh [Thu, 17 Jul 2008 14:49:06 +0000 (14:49 +0000)]
Remove some duplication

15 years agoWindows fixes
Ian Lynagh [Wed, 16 Jul 2008 22:27:19 +0000 (22:27 +0000)]
Windows fixes

15 years agoFix GHC finding extra-gcc-opts on Windows
Ian Lynagh [Wed, 16 Jul 2008 22:24:57 +0000 (22:24 +0000)]
Fix GHC finding extra-gcc-opts on Windows

15 years agoFix the inplace compiler finding package.conf on Windows
Ian Lynagh [Wed, 16 Jul 2008 21:50:00 +0000 (21:50 +0000)]
Fix the inplace compiler finding package.conf on Windows

15 years agoFix the build with GHC 6.4.2
Ian Lynagh [Wed, 16 Jul 2008 19:28:36 +0000 (19:28 +0000)]
Fix the build with GHC 6.4.2

15 years agoGet building GHC itself with Cabal more-or-less working
Ian Lynagh [Wed, 16 Jul 2008 15:04:41 +0000 (15:04 +0000)]
Get building GHC itself with Cabal more-or-less working
Installing and bindist creation don't work, but they were already broken.
Only tested validating with one setup.

15 years agoFix for 1st half of #2203 Before_cabalised-GHC
Manuel M T Chakravarty [Tue, 15 Jul 2008 05:27:51 +0000 (05:27 +0000)]
Fix for 1st half of #2203

15 years agoFix check of rhs of type family instances (#2157)
Manuel M T Chakravarty [Mon, 14 Jul 2008 09:45:24 +0000 (09:45 +0000)]
Fix check of rhs of type family instances (#2157)

15 years agoFIX BUILD on Windows
Simon Marlow [Mon, 14 Jul 2008 15:34:11 +0000 (15:34 +0000)]
FIX BUILD on Windows

15 years agoremove what looks like a cut-and-pasto
Simon Marlow [Mon, 14 Jul 2008 13:28:08 +0000 (13:28 +0000)]
remove what looks like a cut-and-pasto

15 years agofix #2434: we weren't waiting long enough for the signal
Simon Marlow [Mon, 14 Jul 2008 11:10:07 +0000 (11:10 +0000)]
fix #2434: we weren't waiting long enough for the signal

15 years agoMake showSDoc and printDoc use the same default width (100)
Simon Marlow [Mon, 14 Jul 2008 08:36:54 +0000 (08:36 +0000)]
Make showSDoc and printDoc use the same default width (100)
For some reason they were different (100/120), which made some tests
produce different output when I moved from showSDoc to printDoc for
error messages.

15 years agoFIX #2322: add exceptions for more functions in math.h
Simon Marlow [Fri, 11 Jul 2008 15:27:03 +0000 (15:27 +0000)]
FIX #2322: add exceptions for more functions in math.h

15 years agoFIX #2248
Simon Marlow [Fri, 11 Jul 2008 15:11:46 +0000 (15:11 +0000)]
FIX #2248
Unconditionally add .exe to the output executable name when using
--make on Windows, and no -o option was given.

15 years agoadd a comment to the effect that printDoc prints FastStrings in UTF-8
Simon Marlow [Fri, 11 Jul 2008 15:11:35 +0000 (15:11 +0000)]
add a comment to the effect that printDoc prints FastStrings in UTF-8

15 years agoFIX #2302: print FastStrings in UTF-8 in error messages
Simon Marlow [Fri, 11 Jul 2008 15:11:16 +0000 (15:11 +0000)]
FIX #2302: print FastStrings in UTF-8 in error messages
This is all a bit of a mess, but can hopefully be improved when we get
encoding/decoding support in Handles.

15 years agoFIX #2278: don't complain if the -odir directory doesn't exist
Simon Marlow [Fri, 11 Jul 2008 13:43:01 +0000 (13:43 +0000)]
FIX #2278: don't complain if the -odir directory doesn't exist
we'll create it anyway

15 years agoIf HADDOCK_DOCS is YES, then fail the build early if we couldn't find haddock
Ian Lynagh [Sun, 13 Jul 2008 16:53:05 +0000 (16:53 +0000)]
If HADDOCK_DOCS is YES, then fail the build early if we couldn't find haddock
This fixes trac #2266.

15 years agoFix some build problems when GHCI is not definde
Ian Lynagh [Sun, 13 Jul 2008 12:13:09 +0000 (12:13 +0000)]
Fix some build problems when GHCI is not definde

15 years agoAdd PostfixOperators flag for (e op) postfix operators; fixes trac #1824
Ian Lynagh [Sat, 12 Jul 2008 20:37:25 +0000 (20:37 +0000)]
Add PostfixOperators flag for (e op) postfix operators; fixes trac #1824
-fglasgow-exts also turns it on.

15 years agoRemove the hack to avoid darcs-all operating on bootstrapping directories
Ian Lynagh [Sat, 12 Jul 2008 17:06:38 +0000 (17:06 +0000)]
Remove the hack to avoid darcs-all operating on bootstrapping directories
We no longer create those directories

15 years agoTeach installPackage about --distpref and --enable-shell-wrappers
Ian Lynagh [Sat, 12 Jul 2008 13:43:46 +0000 (13:43 +0000)]
Teach installPackage about --distpref and --enable-shell-wrappers

15 years agoHandle passing hsc2hs to Cabal better
Ian Lynagh [Fri, 11 Jul 2008 21:43:58 +0000 (21:43 +0000)]
Handle passing hsc2hs to Cabal better
If it has been built then we pass it, even if we are still using the
bootstrapping compiler.

15 years agoMove installPackage out into its own cabal package under utils/
Ian Lynagh [Fri, 11 Jul 2008 21:16:15 +0000 (21:16 +0000)]
Move installPackage out into its own cabal package under utils/

15 years agoSplit up Cabal configure flag variables for more flexibility
Ian Lynagh [Fri, 11 Jul 2008 15:14:48 +0000 (15:14 +0000)]
Split up Cabal configure flag variables for more flexibility

15 years agoMove -fno-cse flags from Makefile into pragmas
Ian Lynagh [Fri, 11 Jul 2008 12:31:51 +0000 (12:31 +0000)]
Move -fno-cse flags from Makefile into pragmas
These are needed for GLOBAL_VAR's to work properly

15 years agoRemove the need for undecidable instances in LazyUniqFM
Ian Lynagh [Fri, 11 Jul 2008 13:14:21 +0000 (13:14 +0000)]
Remove the need for undecidable instances in LazyUniqFM

15 years agoadd "ghc-pkg dump" (fixes #2201)
Simon Marlow [Fri, 11 Jul 2008 12:17:39 +0000 (12:17 +0000)]
add "ghc-pkg dump" (fixes #2201)

15 years agosmall improvement to an error message
Simon Marlow [Fri, 11 Jul 2008 12:01:53 +0000 (12:01 +0000)]
small improvement to an error message

15 years ago#2371: try to explain the difference between :module and :load
Simon Marlow [Fri, 11 Jul 2008 12:00:46 +0000 (12:00 +0000)]
#2371: try to explain the difference between :module and :load

15 years agoFIX #2381, and improve the fix for #1565
Simon Marlow [Fri, 11 Jul 2008 10:18:39 +0000 (10:18 +0000)]
FIX #2381, and improve the fix for #1565

15 years agoChange pragma order to stop GHC 6.4 getting confused
Ian Lynagh [Thu, 10 Jul 2008 19:06:14 +0000 (19:06 +0000)]
Change pragma order to stop GHC 6.4 getting confused

15 years ago-H80m isn't allowed in an options pragma. Just remove it for now.
Ian Lynagh [Thu, 10 Jul 2008 16:30:48 +0000 (16:30 +0000)]
-H80m isn't allowed in an options pragma. Just remove it for now.

15 years agoRemove a commented-out flag
Ian Lynagh [Thu, 10 Jul 2008 14:11:29 +0000 (14:11 +0000)]
Remove a commented-out flag

15 years agoRemove an HPUX-only flag which has no comment explaining its purpose
Ian Lynagh [Thu, 10 Jul 2008 14:10:32 +0000 (14:10 +0000)]
Remove an HPUX-only flag which has no comment explaining its purpose
It's probably to work around a long-dead bug

15 years agoMove more flags from the Makefile into pragmas
Ian Lynagh [Thu, 10 Jul 2008 14:07:57 +0000 (14:07 +0000)]
Move more flags from the Makefile into pragmas

15 years agoMove the definition of NONEXISTENT into the central cabal-flags.mk
Ian Lynagh [Thu, 10 Jul 2008 13:52:13 +0000 (13:52 +0000)]
Move the definition of NONEXISTENT into the central cabal-flags.mk

15 years agoDefine CABAL in mk/cabal-flags.mk, rather than everywhere we use it
Ian Lynagh [Thu, 10 Jul 2008 13:49:28 +0000 (13:49 +0000)]
Define CABAL in mk/cabal-flags.mk, rather than everywhere we use it

15 years agoTypo fixed
Ian Lynagh [Thu, 10 Jul 2008 13:47:48 +0000 (13:47 +0000)]
Typo fixed

15 years agoRemove a redundant comment
Ian Lynagh [Thu, 10 Jul 2008 13:46:56 +0000 (13:46 +0000)]
Remove a redundant comment

15 years agoRemove remnants of javaGen
Ian Lynagh [Thu, 10 Jul 2008 13:26:54 +0000 (13:26 +0000)]
Remove remnants of javaGen

15 years agoRemove some remnants of ilxgen
Ian Lynagh [Thu, 10 Jul 2008 13:24:17 +0000 (13:24 +0000)]
Remove some remnants of ilxgen

15 years agoRemove a comment for GHC <= 4.08
Ian Lynagh [Thu, 10 Jul 2008 13:21:07 +0000 (13:21 +0000)]
Remove a comment for GHC <= 4.08

15 years agoRemove .hi-boot-[56] stuff from the Makefile
Ian Lynagh [Thu, 10 Jul 2008 13:15:28 +0000 (13:15 +0000)]
Remove .hi-boot-[56] stuff from the Makefile

15 years agoRemove a flag that a comment claims is for GHC < 5
Ian Lynagh [Thu, 10 Jul 2008 13:09:25 +0000 (13:09 +0000)]
Remove a flag that a comment claims is for GHC < 5

15 years agoWe can now unconditionally use -fno-warn-orphans
Ian Lynagh [Thu, 10 Jul 2008 12:59:48 +0000 (12:59 +0000)]
We can now unconditionally use -fno-warn-orphans
...which is good, as the conditional test was broken anyway!

15 years agoMove another flag from the Makefile into a pragma
Ian Lynagh [Thu, 10 Jul 2008 12:54:22 +0000 (12:54 +0000)]
Move another flag from the Makefile into a pragma

15 years agoMove some flags from the Makefile into module pragmas
Ian Lynagh [Thu, 10 Jul 2008 12:48:27 +0000 (12:48 +0000)]
Move some flags from the Makefile into module pragmas

15 years agoMove "main/BinIface_HC_OPTS += -O" into a pragma in iface/BinIface.hs
Ian Lynagh [Thu, 10 Jul 2008 12:41:41 +0000 (12:41 +0000)]
Move "main/BinIface_HC_OPTS += -O" into a pragma in iface/BinIface.hs
I assume that we still want this, despite it having been disconnected
when the module was moved.

15 years agoRemove an ancient commented out "parser/Parser_HC_OPTS += -fasm"
Ian Lynagh [Thu, 10 Jul 2008 12:36:55 +0000 (12:36 +0000)]
Remove an ancient commented out "parser/Parser_HC_OPTS += -fasm"

15 years agoadd threadStatus# primop, for querying the status of a ThreadId#
Simon Marlow [Thu, 10 Jul 2008 15:14:06 +0000 (15:14 +0000)]
add threadStatus# primop, for querying the status of a ThreadId#

15 years agooops, fix more register clobberage
Simon Marlow [Thu, 10 Jul 2008 11:52:21 +0000 (11:52 +0000)]
oops, fix more register clobberage
fixes crash with -threaded -debug for me

15 years agorts_evalStableIO: start the new thread in blocked mode
Simon Marlow [Wed, 9 Jul 2008 13:54:47 +0000 (13:54 +0000)]
rts_evalStableIO: start the new thread in blocked mode

15 years agoadd new primop: asyncExceptionsBlocked# :: IO Bool
Simon Marlow [Wed, 9 Jul 2008 13:53:37 +0000 (13:53 +0000)]
add new primop: asyncExceptionsBlocked# :: IO Bool

15 years agoObjectIO is no longer an extralib
Ian Lynagh [Wed, 9 Jul 2008 13:57:22 +0000 (13:57 +0000)]
ObjectIO is no longer an extralib

15 years agoRemove all references to -mno-cygwin
Ian Lynagh [Wed, 9 Jul 2008 12:55:54 +0000 (12:55 +0000)]
Remove all references to -mno-cygwin
We shouldn't need it, as we don't call cygwin's gcc, and it was causing
problems with the nightly builders passing it to GHC.