1. 14 May, 2009 1 commit
  2. 13 May, 2009 5 commits
  3. 01 May, 2009 2 commits
    • Duncan Coutts's avatar
      Link the rts shared libs against gmp and the other C libs · 2b7f450a
      Duncan Coutts authored
      When using shared libs we should link each lib against its deps. This allows
      the dynamic linker to chase dependencies and means we do not have to specify
      all indirect dependencies (as we must do for static libs).
    • Duncan Coutts's avatar
      Make ghc -dynamic imply -fPIC for C code · 431e40e1
      Duncan Coutts authored
      As is already the case for ghc -fPIC. This is needed because ghc -dynamic
      means to generate code that is capable of being linked to Haskell shared
      libs and for C code the equivalent is -fPIC. Normally C code does not need
      -fPIC merely to link to shared libs however Haskell shared libs do not
      follow common conventions. In particular the static data cannot be
      referenced statically because it cannot be copied by the static linker.
      The linker cannot copy them because we do not specify a .size for the
      _closure entries (in the .data section) though in principle we could.
  4. 13 May, 2009 4 commits
  5. 22 Apr, 2009 1 commit
  6. 13 May, 2009 1 commit
  7. 11 May, 2009 3 commits
  8. 08 May, 2009 1 commit
  9. 12 May, 2009 1 commit
    • simonpj@microsoft.com's avatar
      Improve error messages for type functions · da2e18b9
      simonpj@microsoft.com authored
      Following a suggestion of Claus Reinke, this patch improves the error
      messages involving type functions.  Here's the relevant note from TcTyFuns.
      Note [Non-injective type functions]
      It's very confusing to get a message like
           Couldn't match expected type `Depend s'
                  against inferred type `Depend s1'
      so pp_open_tc adds:
             NB: `Depend' is a (non-injective) type function
      Currently we add this independently for each argument, so we also get
           Couldn't match expected type `a'
                  against inferred type `Dual (Dual a)'
             NB: `Dual' is a (non-injective) type function
      which is arguably redundant.  But on the other hand, it's probably
      a good idea for the programmer to know the error involves type functions
      so I've left it in for now.  The obvious alternative is to only add
      this NB in the case of matching (T ...) ~ (T ...). 
  10. 11 May, 2009 3 commits
  11. 08 May, 2009 2 commits
  12. 05 May, 2009 2 commits
  13. 01 May, 2009 1 commit
  14. 09 May, 2009 3 commits
  15. 08 May, 2009 4 commits
  16. 07 May, 2009 4 commits
  17. 06 May, 2009 1 commit
  18. 05 May, 2009 1 commit
    • Ian Lynagh's avatar
      Simplify utils/pwd · 9000c679
      Ian Lynagh authored
      We only need the forwardslash mode now, so always use that mode and
      don't accept any arguments.