ghc-hetmet.git
17 years agotry to fix the way we find $topdir
Simon Marlow [Fri, 25 Jul 2008 14:28:28 +0000 (14:28 +0000)]
try to fix the way we find $topdir

17 years agofor the installed versions, don't use dynamic-linking wrappers
Simon Marlow [Fri, 25 Jul 2008 13:45:51 +0000 (13:45 +0000)]
for the installed versions, don't use dynamic-linking wrappers

17 years agodon't steal %ebx for the GC on x86: it's also used by PIC
Simon Marlow [Fri, 25 Jul 2008 12:29:21 +0000 (12:29 +0000)]
don't steal %ebx for the GC on x86: it's also used by PIC

17 years agoSRT labels don't need to be globally visible
Simon Marlow [Fri, 25 Jul 2008 08:09:01 +0000 (08:09 +0000)]
SRT labels don't need to be globally visible
Saves space in the symbol table and speeds up linking

17 years agoDon't prematurely link shared libraries against the RTS package
Simon Marlow [Thu, 24 Jul 2008 15:50:01 +0000 (15:50 +0000)]
Don't prematurely link shared libraries against the RTS package
We want to be able to pick the RTS flavour (e.g. -threaded) when we
link the final program.

17 years agoadd --enable-shared to configure, and $(BuildSharedLibs) to the build system
Simon Marlow [Thu, 24 Jul 2008 15:49:25 +0000 (15:49 +0000)]
add --enable-shared to configure, and $(BuildSharedLibs) to the build system

17 years agouse RTLD_LAZY instead of RTLD_NOW
Simon Marlow [Thu, 24 Jul 2008 15:27:27 +0000 (15:27 +0000)]
use RTLD_LAZY instead of RTLD_NOW
RTLD_NOW apparently causes some problems, according to previous
mailing-list discussion

 http://www.haskell.org/pipermail/cvs-ghc/2007-September/038570.html

17 years agodebug output tweak
Simon Marlow [Thu, 24 Jul 2008 15:26:36 +0000 (15:26 +0000)]
debug output tweak

17 years agosmall cleanup
Simon Marlow [Thu, 24 Jul 2008 15:16:14 +0000 (15:16 +0000)]
small cleanup

17 years agoFix building runghc on Windows
Ian Lynagh [Thu, 24 Jul 2008 18:28:31 +0000 (18:28 +0000)]
Fix building runghc on Windows

17 years agoFollow darcs-all changes in push-all
Ian Lynagh [Thu, 24 Jul 2008 16:41:53 +0000 (16:41 +0000)]
Follow darcs-all changes in push-all

17 years agoRejig how darcs-all works
Ian Lynagh [Thu, 24 Jul 2008 16:41:42 +0000 (16:41 +0000)]
Rejig how darcs-all works
It's now easier to add new repos anywhere in the source tree

17 years agoRemove the OpenGL family of libraries from extralibs
Ian Lynagh [Thu, 24 Jul 2008 10:27:36 +0000 (10:27 +0000)]
Remove the OpenGL family of libraries from extralibs

17 years agocompiler/package.conf.in is no longer used, so remove it
Ian Lynagh [Thu, 24 Jul 2008 10:16:10 +0000 (10:16 +0000)]
compiler/package.conf.in is no longer used, so remove it

17 years agoallow EXTRA_HC_OPTS to be used from the command-line
Simon Marlow [Thu, 24 Jul 2008 08:17:28 +0000 (08:17 +0000)]
allow EXTRA_HC_OPTS to be used from the command-line

17 years agoput the inplace GHC in stageN-inplace/ghc instead of stageN-inplace/bin/ghc
Simon Marlow [Thu, 24 Jul 2008 08:09:51 +0000 (08:09 +0000)]
put the inplace GHC in stageN-inplace/ghc instead of stageN-inplace/bin/ghc
just saves a bit of typing

17 years agoadd a "rebuild" target for convenience
Simon Marlow [Wed, 23 Jul 2008 14:32:01 +0000 (14:32 +0000)]
add a "rebuild" target for convenience

17 years agoset PAPI_LIB_DIR="" when we don't have PAPI (clean up package.conf)
Simon Marlow [Tue, 22 Jul 2008 14:13:27 +0000 (14:13 +0000)]
set PAPI_LIB_DIR="" when we don't have PAPI (clean up package.conf)

17 years agoremove -fvia-C that I apparrently accidentally added recently
Simon Marlow [Tue, 22 Jul 2008 14:12:55 +0000 (14:12 +0000)]
remove -fvia-C that I apparrently accidentally added recently

17 years agoFix a build error on powerpc/Linux; spotted by Jeroen Pulles
Ian Lynagh [Wed, 23 Jul 2008 19:19:48 +0000 (19:19 +0000)]
Fix a build error on powerpc/Linux; spotted by Jeroen Pulles

17 years agoIf the extension is not .lhs, runghc now treats it as .hs; fixes trac #1232
Ian Lynagh [Wed, 23 Jul 2008 18:21:56 +0000 (18:21 +0000)]
If the extension is not .lhs, runghc now treats it as .hs; fixes trac #1232

17 years agorunghc now uses the compiler that it comes with; fixes trac #1281
Ian Lynagh [Wed, 23 Jul 2008 18:11:15 +0000 (18:11 +0000)]
runghc now uses the compiler that it comes with; fixes trac #1281
rather than the first one that it finds on the PATH

17 years agoUse the upstream hsc2hs repo
Ian Lynagh [Wed, 23 Jul 2008 15:50:21 +0000 (15:50 +0000)]
Use the upstream hsc2hs repo

17 years agoRemove some redundancy in darcs-all
Ian Lynagh [Wed, 23 Jul 2008 14:38:04 +0000 (14:38 +0000)]
Remove some redundancy in darcs-all

17 years agoTell Cabal where gcc is
Ian Lynagh [Wed, 23 Jul 2008 00:12:02 +0000 (00:12 +0000)]
Tell Cabal where gcc is

17 years agoUndo fix for #2185: sparks really should be treated as roots
Simon Marlow [Wed, 23 Jul 2008 12:52:05 +0000 (12:52 +0000)]
Undo fix for #2185: sparks really should be treated as roots
Unless sparks are roots, strategies don't work at all: all the sparks
get GC'd.  We need to think about this some more.

17 years agofix bug in sparkPoolSize (affects debug output only)
Simon Marlow [Wed, 23 Jul 2008 10:43:22 +0000 (10:43 +0000)]
fix bug in sparkPoolSize (affects debug output only)

17 years agodebug message tweaks
Simon Marlow [Wed, 23 Jul 2008 09:00:50 +0000 (09:00 +0000)]
debug message tweaks

17 years agorefactoring/tidyup: (not.is64BitInteger) -> is32BitInteger
Simon Marlow [Tue, 22 Jul 2008 09:21:13 +0000 (09:21 +0000)]
refactoring/tidyup: (not.is64BitInteger) -> is32BitInteger

17 years agonon-threaded RTS: don't assume deadlock if there are signal handlers to run
Simon Marlow [Tue, 15 Jul 2008 13:03:16 +0000 (13:03 +0000)]
non-threaded RTS: don't assume deadlock if there are signal handlers to run

17 years agoupdate the text about header files and -#include
Simon Marlow [Tue, 15 Jul 2008 10:11:19 +0000 (10:11 +0000)]
update the text about header files and -#include

17 years agoadd NetBSD to some of the #ifdefs (patch partly from 6.8 branch)
Simon Marlow [Mon, 14 Jul 2008 14:50:40 +0000 (14:50 +0000)]
add NetBSD to some of the #ifdefs (patch partly from 6.8 branch)

17 years agoWarn about unrecognised pragmas; these often mean we've typoed
Ian Lynagh [Tue, 22 Jul 2008 23:55:50 +0000 (23:55 +0000)]
Warn about unrecognised pragmas; these often mean we've typoed

17 years agoSync hsc2hs's Main.hs with the Cabal repo
Ian Lynagh [Tue, 22 Jul 2008 20:36:46 +0000 (20:36 +0000)]
Sync hsc2hs's Main.hs with the Cabal repo

17 years agoWe need to clean the utils on "distclean", as well as "clean"
Ian Lynagh [Tue, 22 Jul 2008 17:07:54 +0000 (17:07 +0000)]
We need to clean the utils on "distclean", as well as "clean"

17 years agoClean stage 3
Ian Lynagh [Tue, 22 Jul 2008 17:05:42 +0000 (17:05 +0000)]
Clean stage 3

17 years agoAdd replacements for the -optdep flags, and deprecate the old ones
Ian Lynagh [Tue, 22 Jul 2008 16:33:08 +0000 (16:33 +0000)]
Add replacements for the -optdep flags, and deprecate the old ones

17 years agoFix the stage3 build
Ian Lynagh [Tue, 22 Jul 2008 12:57:43 +0000 (12:57 +0000)]
Fix the stage3 build

17 years agoFixes for haddock 0.8
Ian Lynagh [Mon, 21 Jul 2008 09:52:56 +0000 (09:52 +0000)]
Fixes for haddock 0.8

17 years agohaddock the stage2 compiler if HADDOCK_DOCS is YES
Ian Lynagh [Sun, 20 Jul 2008 22:06:22 +0000 (22:06 +0000)]
haddock the stage2 compiler if HADDOCK_DOCS is YES

17 years agoFirst step for getting rid of the old -optdep flags
Ian Lynagh [Sun, 20 Jul 2008 20:32:39 +0000 (20:32 +0000)]
First step for getting rid of the old -optdep flags
They are now handled by the main flag parser, rather than having their
own praser that runs later.

As an added bonus, 5 global variables are also gone.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 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 ...

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

17 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

17 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

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

17 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

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

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

17 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

17 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.

17 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

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

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

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

17 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

17 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

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

17 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

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

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

17 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

17 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.

17 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

17 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

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

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

17 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

17 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

17 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

17 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.

17 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

17 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)

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

17 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

17 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

17 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.