- 06 May, 2004 2 commits
-
-
simonmar authored
Make this work with GHC 5.04.x, by slurping in rawSystem from the libraries.
-
simonmar authored
Move the definition of rawSystem into a separate file which we #include in the places it is needed. This is slightly better than copying the code, since we now need it in three places (ghc/utils/runghc is the 3rd).
-
- 05 May, 2004 9 commits
-
-
krasimir authored
The commit allows to build GHCi libraries in Windows Command Prompt
-
simonmar authored
Rearrange the -F/-pgmF documentation a bit.
-
simonpj authored
More about windows
-
simonmar authored
x-ref to Control.Concurrent from the -threaded docs.
-
ross authored
add a note about #def in hsc2hs
-
simonmar authored
Add the runghc program
-
simonmar authored
Document use of -I flag for finding FFI header files
-
simonmar authored
FAQ about missing include files when using -O/-prof
-
simonmar authored
Add dependencies on jadetex and tetex-dvips Noticed by: Jeff Lewis
-
- 04 May, 2004 1 commit
-
-
simonpj authored
More notes for Windows and MSYS
-
- 30 Apr, 2004 2 commits
- 27 Apr, 2004 1 commit
-
-
simonpj authored
---------------------------------------- 1. Make primOpIsCheap do something sensible 2. Make the state hack work better ---------------------------------------- 1. In March 2001, we changed primOpIsCheap to primOpIsCheap op = False thereby making *no* primops seem cheap. But this killed eta expansion on case (x ==# y) of True -> \s -> ... which is bad. In particular a loop like doLoop n = loop 0 where loop i | i == n = return () | otherwise = bar i >> loop (i+1) allocated a closure every time round because it didn't eta expand. The problem that made us set primOpIsCheap to False was let x = a +# b *# c in x +# x where we don't want to inline x. But primopIsCheap doesn't control that (it's exprIsDupable that does) so the problem doesn't occur even if primOpIsCheap sometimes says 'True'. I think that perhaps something changed since March 2001. 2. Consider this case x of True -> \(s:RealWorld) -> e False -> foo where foo has arity 1. If we are using the "state hack" we want to eta expand here. This commit fixes arityType in the Var case (for foo) to take account of foo's type. Also add -fno-state-hack to the static flags, to allow the state hack to be switched off.
-
- 26 Apr, 2004 1 commit
-
-
simonmar authored
Update Jeff Lewis' email address
-
- 21 Apr, 2004 6 commits
-
-
simonpj authored
Do a much better job of slurping RULES. Now that stuff is slurped in lazily, as the simplifier pokes on it, we may not get the rules as early as we might wish. In the current HEAD, no new rules are slurped in after the beginning of SimplCore, and that means we permanently miss many rules. This commit arranges that every time round the simplifier loop we slurp in any new rules, and put them into the in-scope set, where the simplifier can find them. It's still possible that a rule might be slurped in a little later than in earlier versions of GHC, leading to more simplifier iterations, but let's see if that turns out to be a problem in practice.
-
simonpj authored
Import wibbles
-
simonpj authored
In Template Haskell suppport dyn "M.x" to mean "look up the qualified name M.x in the environment", which is what you'd expect. George Russel wanted this.
-
simonpj authored
Elaborate IfaceSyn.HsWorker to give the full IfaceExtName of the worker, rather than just the internal OccName. Very occasionally, the worker for a function in module A turns out to be (by simplification) a function defined in module B. So we must remember the module. This shows up in package ObjectIO, Graphics.UI.ObjectIO.OS.Window.osValidateWindowRect which has a worker Graphics.UI.ObjectIO.OS.WindowCCall_12.$wwinValidateRect *** Unfortunately this changes the binary format of hi files slightly, so *** you'll have to recompile all your libraries from scratch.
-
simonpj authored
Comments only
-
simonpj authored
Fix the OSTYPE test for Cygwin, and comment
-
- 18 Apr, 2004 5 commits
-
-
dons authored
Add amd64-unknown-openbsd to the list of supported platforms.
-
dons authored
i386-unknown-netbsd no longer refers to PCs running OpenBSD. They are binary incompatible these days.
-
dons authored
Add OpenBSD/amd64 to the known x86_64's
-
dons authored
amd64 => x86_64 "x86_64" is what GHC has been calling this arch.
-
dons authored
Add amd64-unknown-openbsd
-
- 16 Apr, 2004 1 commit
-
-
igloo authored
Change the mangler to allow a tab before .section on sparc. Fixes a problem which shows up as symbols not being made global so not being defined when compiling with gcc >= 3.something.
-
- 13 Apr, 2004 2 commits
-
-
simonmar authored
Fix integer truncation Subimitted by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>, via Nicholas Nethercote <njn25@cam.ac.uk>
-
simonmar authored
merge rev. 1.173.2.21: Fix bug in deleteAllThreads() - shouldn't throw away the contents of the run queue, we still need to deal with those ThreadKilled threads.
-
- 12 Apr, 2004 2 commits
- 07 Apr, 2004 1 commit
-
-
panne authored
A complete rewrite of ar-related tests: * Modularized the tests * Fixed (i.e. introduced :-) caching * Made the test for support of "-input" more robust
-
- 06 Apr, 2004 4 commits
-
-
simonpj authored
Buglet in desugaring TH syntax
-
simonpj authored
Document -fcontext-stack as static
-
simonpj authored
The "rebindable-syntax" stuff wasn't dealing with the new location information correctly. This commit fixes the problem, and thereby makes mdofail004 work right. Maybe others too.
-
simonpj authored
Revert to previous kind-check of for-alls, to avoid error message worsening
-
- 05 Apr, 2004 3 commits