1. 04 Dec, 2001 1 commit
  2. 09 Nov, 2001 2 commits
    • sof's avatar
      [project @ 2001-11-09 21:25:56 by sof] · 124690e9
      sof authored
      GhcCanonVersion: leave out GhcPatchLevel, causes problems when
      the GhcPatchLevel isn't a patchlevel but a date.
    • sof's avatar
      [project @ 2001-11-09 18:17:48 by sof] · 579b46fe
      sof authored
      * Moved CANON_HC_VERSION out of ghc/compiler/Makefile and into mk/config.mk.in
        (and renamed it as GhcCanonVersion).
      * Have ghc/driver/Makefile use it; cheaper and more robust than the version
        testing it was already doing.
  3. 04 Aug, 2001 1 commit
    • ken's avatar
      [project @ 2001-08-04 06:09:24 by ken] · e9b02c06
      ken authored
      Change the generation of package.conf and package.conf.inplace, so that
      -lbfd and -liberty are included when necessary.
  4. 24 Jul, 2001 2 commits
    • simonmar's avatar
      [project @ 2001-07-24 10:28:51 by simonmar] · cbda7114
      simonmar authored
      back the last change out; a better way to get all the hc files you need is
      	SRC_HC_OPTS += -keep-hc-files
      in your build.mk.
    • ken's avatar
      [project @ 2001-07-24 05:05:41 by ken] · 9772e7c1
      ken authored
      Added $(GhcHcOpts) to $(SRC_HC_OPTS), so that by setting
      --keep-hc-files-too in $(GhcHcOpts) we get .hc files for the
      Haskell code under this directory, ghc/driver.
  5. 12 Jun, 2001 2 commits
    • 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.
    • 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.)
  6. 12 Apr, 2001 1 commit
  7. 06 Apr, 2001 1 commit
  8. 03 Apr, 2001 2 commits
    • sewardj's avatar
      [project @ 2001-04-03 13:18:34 by sewardj] · 8b2dda50
      sewardj authored
      Clean up the post-install-script mechanism a bit, so that the script
      for project is <project>/mk/post-install-script.
      For project ghc, don't install pkgconf unless BIN_DIST=1.
    • sewardj's avatar
      [project @ 2001-04-03 11:31:38 by sewardj] · 54cf53b0
      sewardj authored
      Make binary-dist installations work, by generating a proper package.conf
      file.  This is done by allowing fptools packages to supply an
      arbitrary post-install shell script, which the bin-dist 'make install'
      runs last of all.  In Project=Ghc's case, the post-install script
      runs pkgconf with appropriate params to create the package.conf
      file in the right place.
  9. 31 Mar, 2001 1 commit
  10. 27 Mar, 2001 1 commit
  11. 26 Mar, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-03-26 16:53:35 by simonmar] · 27b4d2d7
      simonmar authored
      - make the pkgconf program independent of the location of the build
        tree - instead of Config.hs, we pass the configuration parameters in
        as options.  This is necessary for .hc bootstrapping.
      - remove the ghci driver stuff, it moved to the ghci subdirectory.
      - remove ghc5.hs
  12. 19 Mar, 2001 1 commit
  13. 15 Mar, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-03-15 15:54:35 by simonmar] · 738d6d2c
      simonmar authored
      - Don't duplicate the definition of PackageConfig, instead hackily #include
        it from ../utils/ghc-pkg/Package.hs.
      - Add missing source_dir fields to PackageSrc.hs.
  14. 26 Feb, 2001 1 commit
  15. 11 Feb, 2001 3 commits
  16. 20 Dec, 2000 1 commit
  17. 11 Dec, 2000 2 commits
  18. 04 Dec, 2000 1 commit
  19. 21 Nov, 2000 1 commit
  20. 07 Nov, 2000 1 commit
  21. 05 Sep, 2000 1 commit
    • simonmar's avatar
      [project @ 2000-09-05 10:16:40 by simonmar] · 5a574720
      simonmar authored
      Rename the make variable TMPDIR to DEFAULT_TMPDIR.  This fixes the
      problem that saying 'TMPDIR=/foo make' in an fptools tree didn't work,
      because GNU make is in the habit of overriding an environment variable
      with the value of the corresponding make variable in a sub-process.
  22. 02 Aug, 2000 1 commit
    • simonmar's avatar
      [project @ 2000-08-02 15:27:25 by simonmar] · c4afba7e
      simonmar authored
      Assimilate mkdependHS into the driver, obsoleting the old Perl version.
      The functionality is pretty much identical, except a few of the flags
      accepted by the old version aren't implemented (--exclude-module,
      --exclude-directory, --include-module).  If anyone needs these
      options, please speak up.
  23. 17 Jul, 2000 1 commit
  24. 06 Jul, 2000 1 commit
  25. 30 Jun, 2000 2 commits
  26. 28 Jun, 2000 1 commit
  27. 25 Jun, 2000 2 commits
    • panne's avatar
      [project @ 2000-06-25 19:17:57 by panne] · 2288751b
      panne authored
      Changed "_" variable prefix to "c" (for "config", "constant", or
      whatever you like). This should enable building from CVS with GHC <4.07.
    • panne's avatar
      [project @ 2000-06-25 17:20:20 by panne] · c4a1f165
      panne authored
      Use "$@" instead of $* in shell script, the latter one doesn't handle
      spaces in arguments correctly. Heaven knows who invented this wierd rules.
  28. 14 Jun, 2000 3 commits
  29. 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
      	- 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.