- 22 Jun, 2001 2 commits
- 18 Jun, 2001 4 commits
-
-
sof authored
For GHCen < 5.00, assume that Exception.throwTo is Exception.raiseInThread
-
simonmar authored
Forced commit to note that the previous commit also adds flushing of stdout/stderr before printing an exception. This fixes the problem reported by Leon Smith last week.
-
simonpj authored
Fix Unix imports
-
chak authored
Adapted to changes in build system
-
- 15 Jun, 2001 8 commits
-
-
sof authored
Make it compile
-
simonpj authored
More windows wibbles
-
simonpj authored
* Restore SysTools.system, which implements a kludged version of system for reasons that are explained at length in the comments [overlong command-lines fail if compiling GHC with pre-5.02 GHCs] * Wibble in Makefile
-
simonmar authored
Restore an #ifdef mingw32_TARGET_OS that shouldn't have been removed (but do it better this time and don't use an arch-specific #ifdef).
-
simonmar authored
- separate location installed binaries from non-binaries (previously installed package.conf was in $(libdir)/extra-bin). - remove v_Path_Perl so that we don't accidentally wire-in the location of perl on Unix systems. It wasn't actually used anywhere. - minor non-functional cleanups and comment fixups. - We still look for package.conf twice; I haven't done anything about this yet.
-
simonmar authored
import Packages
-
simonmar authored
override $(libexecdir) to be $(libdir)/bin (the installation machinery will have to catch up with this too).
-
simonpj authored
Some tidying up * Remove CmStaticInfo - GhciMode moves to HscTypes - The package stuff moves to new module main/Packages.lhs [put any package-related stuff in the new module] * Add Outputable.docToSDoc
-
- 14 Jun, 2001 7 commits
-
-
rrt authored
Add getExecDir to return current directory of executable on Windows (to find config information).
-
simonpj authored
Windows wibbles
-
simonmar authored
- CURRENT_DIR isn't used any more - TmpFiles doesn't exist
-
simonmar authored
fix typo in Simon's commit (cGHC_RAWCPP ==> GHC_RAWCPP)
-
simonpj authored
---------------------- Installation packaging ---------------------- GHC runs various system programs like cp, touch gcc, as, ld etc On Windows we plan to deliver these programs along with GHC, so we have to be careful about where to find them. This commit isolates all these dependencies in a single module main/SysTools.lhs Most of the #ifdefery for mingw has moved into this module. There's some documentation in SysTools.lhs Along the way I did lots of other cleanups. In particular * There is no more 'globbing' needed when calling runSomething * All file removal goes via the standard Directory.removeFile * TmpFiles.hs has gone; absorbed into SysTools * Some DynFlag stuff has moved from DriverFlags to CmdLineOpts Still to do: ** I'm a bit concerned that calling removeFile one at a time when deleting masses of split-object files is going to be rather slow ** GHC now expects to find split,mangle,unlit in libdir/extra-bin instead of just libdir So something needs to change in the Unix installation scripts ** The "ineffective C preprocessor" is a perversion and should die
-
simonmar authored
just move some code around.
-
simonmar authored
comment fixes
-
- 13 Jun, 2001 7 commits
-
-
rrt authored
Make some paths work.
-
rrt authored
Remove redundant and wrong ILX lines.
-
rrt authored
Remove confusing out-of-date comment.
-
rrt authored
Add an ext_name string to foreign dotnet types.
-
rrt authored
Stop using kludgedSystem; the new Windows implementation of system works instead.
-
simonmar authored
correct a comment (the -B option is mandatory).
-
simonmar authored
re-do package path munging that I b?rked yesterday
-
- 12 Jun, 2001 6 commits
-
-
rrt authored
Reimplement system() properly on Windows. This avoids two problems with Windows system(): first, the maximum command-line length, and secondly, the fact that system() returns before the command has completed, and sleep() was used to hack around this. This doesn't affect the use of kludgedSystem, which needs to be removed for GHC not to need a shell at all.
-
simonmar authored
good riddance
-
simonmar authored
Don't install the pkgconf binary in a BIN_DIST any more.
-
simonmar authored
Allow paths in package.conf to begin with the string "$libdir" which is magically replaced by the compiler with either (a) the argument to the -B<dir> option, if one is present, or (b) the wired-in libdir otherwise. This means that the standard package.conf file is independent of the install location and we don't need the post-install-script hack any more (Julian - could you update the install machinery when the time comes? thanks.)
-
simonpj authored
Make CoreTidy clone all top-level names
-
simonpj authored
wibble
-
- 11 Jun, 2001 6 commits
-
-
sewardj authored
Ensure the boilerplate rule still applies for building HSstd_cbits.o.
-
simonpj authored
document data types with no constructors
-
simonpj authored
Changes to build HSstd1.o and HSstd2.o for GHCi in lib/std
-
dsyme authored
Modifications for GHC.NET (the ILX backend)
-
dsyme authored
Modifications to lib/std/Makefile for GHC.NET (ILX backend)
-
simonpj authored
-------------------------------------- Tidy up and improve "pattern contexts" -------------------------------------- In various places (renamer, typechecker, desugarer) we need to know what the context of a pattern match is (case expression, function defn, let binding, etc). This commit tidies up the story quite a bit. I think it represents a net decrease in code, and certainly it improves the error messages from: f x x = 3 Prevsiously we got a message like "Conflicting bindings for x in a pattern match", but not it says "..in a defn of function f". WARNING: the tidy up had a more global effect than I originally expected, so it's possible that some other error messages look a bit peculiar. They should be easy to fix, but tell us!
-