1. 17 Jul, 2000 1 commit
  2. 16 Jul, 2000 1 commit
    • panne's avatar
      [project @ 2000-07-16 20:54:45 by panne] · af4c3872
      panne authored
      * Fixed handling of filename arguments without extension
      * Added new -fstrictfp flag
      * Some cosmetic changes (unless/when instead of if)
      af4c3872
  3. 14 Jul, 2000 1 commit
    • simonmar's avatar
      [project @ 2000-07-14 08:19:02 by simonmar] · 6cc5709b
      simonmar authored
      Add -keep-tmp-files flag, to tell the driver not to delete tmp files.
      Useful mainly for debugging the driver, and obsoletes the GHC
      folklore of using ^Z for this purpose.
      6cc5709b
  4. 13 Jul, 2000 1 commit
  5. 08 Jul, 2000 1 commit
  6. 07 Jul, 2000 1 commit
  7. 06 Jul, 2000 1 commit
  8. 05 Jul, 2000 3 commits
    • simonmar's avatar
      [project @ 2000-07-05 17:16:02 by simonmar] · 5cbfe4e7
      simonmar authored
      bullet-proof the package code a bit more; check for write access to the
      configuration file before doing anything, check whether we're adding a
      package that's already there, etc.
      5cbfe4e7
    • simonmar's avatar
      [project @ 2000-07-05 17:01:59 by simonmar] · b2d52fc9
      simonmar authored
      Packages can now be added/removed from an installed GHC as follows:
      
          $ ./ghc-inplace --list-packages
          gmp, rts, std, lang, concurrent, data, net, posix, text, util,
          hssource, win32, com, std2
          $ ./ghc-inplace --add-package <newpkg
          Reading package info from stdin... done.
          Saving old package config file... done.
          Writing new package config file... done.
          $ ./ghc-inplace --list-packages
          gmp, rts, std, lang, concurrent, data, net, posix, text, util,
          hssource, win32, com, std2, mypkg
          $ ./ghc-inplace --delete-package mypkg
          Saving old package config file... done.
          Writing new package config file... done.
          $ ./ghc-inplace --list-packages
          gmp, rts, std, lang, concurrent, data, net, posix, text, util,
          hssource, win32, com, std2
      
      This is a first stab at the kind of functionality we need for
      installing Haskell libraries via RPMs: the RPM script would install
      the libraries, and then do a "ghc --add-package" passing the
      appropriate paths.  You'd then have "ghc -package" at your disposal to
      use the newly installed package.  Similarly on de-install, the RPM
      script would run "ghc --delete-package".
      
      Also in this commit: prettify the package dumping.
      b2d52fc9
    • sewardj's avatar
      [project @ 2000-07-05 09:46:35 by sewardj] · 558c0ec0
      sewardj authored
      Make -S work when going via the NCG.
      558c0ec0
  9. 03 Jul, 2000 1 commit
  10. 30 Jun, 2000 2 commits
  11. 29 Jun, 2000 2 commits
  12. 28 Jun, 2000 3 commits
  13. 25 Jun, 2000 2 commits
  14. 20 Jun, 2000 5 commits
  15. 19 Jun, 2000 2 commits
  16. 15 Jun, 2000 1 commit
  17. 14 Jun, 2000 3 commits
    • simonmar's avatar
      [project @ 2000-06-14 13:17:00 by simonmar] · 620c2c3f
      simonmar authored
      generate _stub.o files properly when there's a -o flag on the command
      line, and in the presence of -split-objs.
      620c2c3f
    • simonmar's avatar
      [project @ 2000-06-14 11:21:06 by simonmar] · 90bf4766
      simonmar authored
      Produce a gcc-like "ghc: no input files" when called with nothing to
      do.  Note at the top of the file that we don't support the old
      driver's "Enter your Haskell program..." nonsense.
      90bf4766
    • simonmar's avatar
      [project @ 2000-06-14 11:00:07 by simonmar] · 343b5e74
      simonmar authored
      incorporate several patches from Qrzak (pkg include paths for Cpp
      phase, pkg extra_cc_opts in Cc phase, -D__GLASGOW_HASKELL__ for Cc
      phase), and fix error messages in unlitted files.
      343b5e74
  18. 13 Jun, 2000 1 commit
    • simonmar's avatar
      [project @ 2000-06-13 16:07:20 by simonmar] · 877aad48
      simonmar authored
      New Driver
      ==========
      
      Most things work now, so I'm committing this for a shake down.
      Doubtless there'll be some breakage but things should be back to
      normal by the end of the week.
      
      NOTE: GHC 4.06 won't work to build this driver at the moment, due to a
      bug in its parser.  I'll commit a workaround shortly.
      
      There are several improvements here:
      
      	- the driver is written in Haskell, so is allegedly
      	  more maintainable than the previous one.  It's a bit shorter,
      	  at any rate.
      
      	- the package system has been generalised, so that eg.
      	  the RTS is a package, as is GMP and the prelude.  Packages
      	  are now configured via a configuration file, package.conf.
      	  Two versions of package.conf are automatically generated by
      	  PackageSrc.hs, one for ghc-inplace and one for the installed ghc.
      
      	- So that we only have to build the driver once, there's some
      	  special hackery to deal with locations of utilities, and
      	  other configuration stuff:
      
      	  ghc now has a -B option, which is used in a similar way
      	  to gcc's.  eg.
      
      		ghc -B/home/blah/fptools
      
      	  will run ghc in-place in the specified fptools tree, using
      	  /home/blah/fptools/ghc/utils/mkdependHS to find mkdependHS
      	  for example.  ghc-inplace is now a small shell script that
      	  simply invokes the above.  Whereas
      
      		ghc -B/usr/local/lib/ghc-4.07
      
      	  also works, for an installed copy of ghc in
      	  /usr/local/lib/ghc-4.07.
      
      	- the mangler, object splitter and GC stats gatherer are separate
      	  scripts in subdirectories of ghc/driver.  ghc-asm.lprl and
      	  ghc-split.lprl have been copied in the CVS repository to maintain
      	  the history (fingers crossed; I've never done this before)
      
      
      Other notes:
      
      	- Java support isn't there yet.  Andy: don't update for the time
      	  being until I can sort this.
      
      	- Windows support is also broken, but will be fixed in due course.
      877aad48