1. 22 Jun, 2001 2 commits
  2. 18 Jun, 2001 4 commits
  3. 15 Jun, 2001 8 commits
  4. 14 Jun, 2001 7 commits
    • rrt's avatar
      [project @ 2001-06-14 16:41:46 by rrt] · 82db18e4
      rrt authored
      Add getExecDir to return current directory of executable on Windows (to find
      config information).
      82db18e4
    • simonpj's avatar
      [project @ 2001-06-14 15:42:35 by simonpj] · 54f9adfa
      simonpj authored
      Windows wibbles
      54f9adfa
    • simonmar's avatar
      [project @ 2001-06-14 14:14:53 by simonmar] · 6e694be0
      simonmar authored
      - CURRENT_DIR isn't used any more
      - TmpFiles doesn't exist
      6e694be0
    • simonmar's avatar
      [project @ 2001-06-14 13:29:30 by simonmar] · e50a36b1
      simonmar authored
      fix typo in Simon's commit (cGHC_RAWCPP ==> GHC_RAWCPP)
      e50a36b1
    • simonpj's avatar
      [project @ 2001-06-14 12:50:05 by simonpj] · 16d5d1c7
      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
      16d5d1c7
    • simonmar's avatar
      [project @ 2001-06-14 11:46:55 by simonmar] · 8245241e
      simonmar authored
      just move some code around.
      8245241e
    • simonmar's avatar
      [project @ 2001-06-14 09:47:37 by simonmar] · a30fbb32
      simonmar authored
      comment fixes
      a30fbb32
  5. 13 Jun, 2001 7 commits
  6. 12 Jun, 2001 6 commits
    • rrt's avatar
      [project @ 2001-06-12 17:19:34 by rrt] · a1948ea1
      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.
      a1948ea1
    • simonmar's avatar
      [project @ 2001-06-12 17:09:33 by simonmar] · a0613af5
      simonmar authored
      good riddance
      a0613af5
    • simonmar's avatar
      [project @ 2001-06-12 17:08:11 by simonmar] · 80f3c95c
      simonmar authored
      Don't install the pkgconf binary in a BIN_DIST any more.
      80f3c95c
    • simonmar's avatar
      [project @ 2001-06-12 17:07:23 by simonmar] · a3af4376
      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.)
      a3af4376
    • simonpj's avatar
      [project @ 2001-06-12 12:02:48 by simonpj] · 62b8d1aa
      simonpj authored
      Make CoreTidy clone all top-level names
      62b8d1aa
    • simonpj's avatar
      [project @ 2001-06-12 11:15:45 by simonpj] · fd4febd3
      simonpj authored
      wibble
      fd4febd3
  7. 11 Jun, 2001 6 commits
    • sewardj's avatar
      [project @ 2001-06-11 16:49:23 by sewardj] · 8fa55882
      sewardj authored
      Ensure the boilerplate rule still applies for building HSstd_cbits.o.
      8fa55882
    • simonpj's avatar
      [project @ 2001-06-11 14:15:32 by simonpj] · 14ce3bb4
      simonpj authored
      document data types with no constructors
      14ce3bb4
    • simonpj's avatar
      [project @ 2001-06-11 13:39:16 by simonpj] · 1c4e5ade
      simonpj authored
      Changes to build HSstd1.o and HSstd2.o for GHCi in lib/std
      1c4e5ade
    • dsyme's avatar
      [project @ 2001-06-11 13:31:49 by dsyme] · 2fcb7497
      dsyme authored
      Modifications for GHC.NET (the ILX backend)
      2fcb7497
    • dsyme's avatar
      [project @ 2001-06-11 13:15:10 by dsyme] · 82da3e51
      dsyme authored
      Modifications to lib/std/Makefile for GHC.NET (ILX backend)
      82da3e51
    • simonpj's avatar
      [project @ 2001-06-11 12:24:51 by simonpj] · 2c6d73e2
      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!
      2c6d73e2