1. 22 May, 2003 4 commits
    • simonmar's avatar
      [project @ 2003-05-22 15:36:08 by simonmar] · d9823b5b
      simonmar authored
      First hack at supporting standalone packages.
      
      What this means is that a non-GHC fptools project which sets
      $(PACKAGE) in a Makefile should do something reasonable.  It works by
      testing whether $(ProjectNameShort) == "ghc", and if it isn't, then:
      
       - it turns off all the machinery that deals with installing the
         package for use with the in-place compiler and a (future)
         installation of GHC.
      
       - instead, it enables a rule that installs the package using
         the installed $(GHC_PKG).  The configure script still needs
         updating to detect this, so 'make install' won't work yet.
      
       - $(GHC) is used instead of $(GHC_INPLACE) for compiling Haskell
         code.
      
      Apart from the detection of ghc-pkg in configure, this should be all
      that's needed to get source distributions and 'make install' going.
      d9823b5b
    • simonmar's avatar
      [project @ 2003-05-22 13:22:39 by simonmar] · e12f9c62
      simonmar authored
      Comment only
      e12f9c62
    • simonmar's avatar
      [project @ 2003-05-22 10:53:53 by simonmar] · d0b1c1cd
      simonmar authored
      Fix obscure bug in GHCi: when generating code for tag2enum#, we were
      wrongly using the source name for the DataCons rather than the worker
      name, which lead to spurious link errors.
      
      This fixes galois_raytrace(ghci).
      d0b1c1cd
    • ross's avatar
      [project @ 2003-05-22 10:27:52 by ross] · 447c163d
      ross authored
      Make it work with newer versions of flex, which produce an extern
      declaration for yywrap() unless YY_SKIP_YYWRAP is defined.
      447c163d
  2. 21 May, 2003 12 commits
  3. 20 May, 2003 7 commits
  4. 19 May, 2003 9 commits
    • simonpj's avatar
      [project @ 2003-05-19 15:39:17 by simonpj] · 7f480764
      simonpj authored
      ---------------------------------
      	Improve the dynamic-linking story
      	---------------------------------
      
      Arrange proper initialisation for the dynamic linker.  Whenever the dynamic linker does
      anything (Linker.linkExpr), it first initialises itself, arranging to only do so once
      of course.
      
      "Initialising itself" includes loading any .o files, libraries, and packages specified
      on the command line.  The main effect of all this is to fix a Template Haskell problem,
      which happened when a TH link needed some C library that it couldn't link.  Now it does.
      
      
      
      While I was at it, I tidied up main/Main.hs quite a bit.  This is a delicate area (handling
      the command line arguments), but I don't believe I broke anything!  All the libraries
      build, and lots of tests run.
      
      Wolfgang: I also jiggled the darwin_TARGET_OS stuff a little in Linker.lhs, but again
      I think the net effect is zero. You might want to check.
      7f480764
    • simonpj's avatar
      [project @ 2003-05-19 15:11:15 by simonpj] · 143f478b
      simonpj authored
      Comments only
      143f478b
    • simonpj's avatar
      [project @ 2003-05-19 15:10:40 by simonpj] · 20555469
      simonpj authored
      --------------------------
      	Minor Template Haskell bug
      	--------------------------
      
      This bug meant that spliced-in class declarations yielded a 'op not in scope',
      where op was the class operation.  Thanks to Andre Pang for spotting this.
      
      Some consequential tidying up in parsing too.
      20555469
    • simonmar's avatar
      [project @ 2003-05-19 13:29:15 by simonmar] · 3bb15d8e
      simonmar authored
      - rearrange the file a little
      
      - build a binary distribution from stage 2 by default, unless
        overriden from the command line.
      3bb15d8e
    • simonmar's avatar
      [project @ 2003-05-19 13:01:23 by simonmar] · e23544cc
      simonmar authored
      Remove obsolete references to DriFT, DtdToHaskell and Xtract.
      e23544cc
    • simonmar's avatar
      [project @ 2003-05-19 12:11:14 by simonmar] · 850fd993
      simonmar authored
      tryM again: make it work with GHC 5.02.x (I hope).  Seems we changed
      the representation of UserErrors several times in the last few
      releases...
      850fd993
    • simonmar's avatar
      [project @ 2003-05-19 11:37:07 by simonmar] · 69164b87
      simonmar authored
      Fix a pair of off-by-one errors that meant that BCOs were normally two
      words larger than they needed to be.
      69164b87
    • simonmar's avatar
      [project @ 2003-05-19 11:33:06 by simonmar] · e59ac28b
      simonmar authored
      Eeek!  intsToReverseBitmap was borked for bitmaps with more than
      wORD_SIZE_IN_BITS entries.
      e59ac28b
    • simonpj's avatar
      [project @ 2003-05-19 08:31:11 by simonpj] · b15e663f
      simonpj authored
      More Win32 help
      b15e663f
  5. 17 May, 2003 2 commits
  6. 16 May, 2003 5 commits
  7. 15 May, 2003 1 commit