1. 01 Mar, 2011 1 commit
    • Sergei Trofimovich's avatar
      configure: triplet: accept i486 CPU (and more), more vendors and OSes · c00ea87f
      Sergei Trofimovich authored
      Gentoo has interesting ports:
      
        - freebsd with following triplet:
              ./configure --build=i686-gentoo-freebsd8 --host=i686-gentoo-freebsd8 --host=i686-gentoo-freebsd8
          should be recognized as 'i386-unknown-freebsd'
        - 'pc' vendor along with non-'i386' is very common:
              ./configure --build=i486-pc-linux-gnu --i486-pc-linux-gnu --host=i486-pc-linux-gnu
              ./configure --build=i686-pc-linux-gnu --i686-pc-linux-gnu --host=i686-pc-linux-gnu
          should be recognized as 'i386-unknown-linux'
      
      Patch adds:
      
        - 'pc' vendor                 (maps to 'unknown')
        - 'gentoo' vendor             (maps to 'unknown')
        - 'i486', 'i586', 'i686' CPUs (maps to 'i386')
        - 'freebsd8' OS               (maps to 'freebsd')
      c00ea87f
  2. 11 Feb, 2011 1 commit
    • Ian Lynagh's avatar
      Fix platform detection in bindists · 650d6440
      Ian Lynagh authored
      In a bindist, we generate files like the hsc2hs wrapper.
      This means we need to have the right values for the variables like
      CONF_GCC_LINKER_OPTS_STAGE1 which in turn means we need to know what
      platform we're on.
      650d6440
  3. 24 Jan, 2011 1 commit
  4. 17 Jan, 2011 1 commit
  5. 16 Jan, 2011 1 commit
  6. 07 Dec, 2010 1 commit
    • Ian Lynagh's avatar
      Make CPPFLAGS variables, as well as CFLAGS and LDFLAGS · 75cd9c50
      Ian Lynagh authored
      This fixes the "does unsetenv return void" test in the unix package on
      OS X, if I tell it to make 10.4-compatible binaries. The test uses
      CPPFLAGS but not CFLAGS, so it thought it returned int (as it was
      in 10.5-mode), but the C compiler (using CFLAGS, so in 10.4 mode)
      thought it returned void.
      
      I also added CONF_LD_OPTS_STAGE$3 to the list of things in LDFLAGS,
      which looks like an accidental ommission.
      75cd9c50
  7. 06 Dec, 2010 1 commit
  8. 03 Dec, 2010 1 commit
  9. 23 Nov, 2010 2 commits
  10. 21 Nov, 2010 1 commit
    • Ian Lynagh's avatar
      For bindists, build ghc-pwd with stage 1 · 6bb8d64a
      Ian Lynagh authored
      rather then the bootstrapping compiler. This fixes problems where the
      bootstrapping compiler dynamically links against libraries not on the
      target machine.
      6bb8d64a
  11. 20 Nov, 2010 1 commit
  12. 14 Nov, 2010 1 commit
  13. 21 Sep, 2010 1 commit
    • Ian Lynagh's avatar
      Don't use -march=i686 on powerpc-apple-darwin · 2d883517
      Ian Lynagh authored
      Thorikil ran into this when doing a PPC OS X build. We now also don't
      use -m32 on PPC/OSX, but I don't think it should be necessary. We can
      add it back if it does turn out to be.
      2d883517
  14. 02 Sep, 2010 1 commit
  15. 19 Aug, 2010 2 commits
  16. 16 Aug, 2010 1 commit
  17. 28 Jul, 2010 1 commit
  18. 23 Jul, 2010 1 commit
  19. 08 May, 2010 1 commit
    • Ian Lynagh's avatar
      Tweak the ghc-pkg finding code · ee9a93fd
      Ian Lynagh authored
      It now understand the ghc-stage[123] names we use in-tree, and it won't
      go looking for any old ghc-pkg if it can't find the one that matches
      ghc.
      ee9a93fd
  20. 29 Mar, 2010 1 commit
  21. 25 Mar, 2010 1 commit
  22. 24 Mar, 2010 2 commits
  23. 23 Feb, 2010 2 commits
  24. 19 Jan, 2010 1 commit
  25. 05 Nov, 2009 1 commit
  26. 04 Nov, 2009 1 commit
  27. 23 Oct, 2009 1 commit
  28. 08 Oct, 2009 2 commits
  29. 18 Sep, 2009 1 commit
  30. 26 Aug, 2009 1 commit
  31. 19 Aug, 2009 1 commit
    • Simon Marlow's avatar
      Bump Happy requirement from 1.15 to 1.16 · 2aea0294
      Simon Marlow authored
      Now that the haskell98 dependency of GHC has been removed, the
      Happy-generated parsers must import Data.Array rather than Array, and
      that change was made in Happy 1.16.
      2aea0294
  32. 01 Aug, 2009 2 commits
  33. 06 Jul, 2009 1 commit
  34. 26 Jun, 2009 1 commit