1. 08 Dec, 2012 2 commits
  2. 07 Dec, 2012 3 commits
  3. 05 Dec, 2012 2 commits
  4. 29 Nov, 2012 1 commit
  5. 12 Nov, 2012 1 commit
    • ian@well-typed.com's avatar
      Replace mkDerivedConstants.c with DeriveConstants.hs · f49271c0
      ian@well-typed.com authored
      DeriveConstants.hs works in a cross-compilation-friendly way. Rather
      than running a C program that prints out the constants, we just compile
      a C file which has the constants are encoded in symbol sizes. We then
      parse the output of 'nm' to find out what the constants are.
      
      Based on work by Gabor Greif <ggreif@gmail.com>.
      f49271c0
  6. 02 Nov, 2012 1 commit
  7. 01 Nov, 2012 1 commit
  8. 30 Oct, 2012 1 commit
  9. 29 Oct, 2012 1 commit
  10. 26 Oct, 2012 1 commit
  11. 25 Oct, 2012 1 commit
  12. 23 Oct, 2012 1 commit
  13. 19 Oct, 2012 1 commit
  14. 18 Oct, 2012 1 commit
    • ian@well-typed.com's avatar
      Refactor the way dump flags are handled · d4a19643
      ian@well-typed.com authored
      We were being inconsistent about how we tested whether dump flags
      were enabled; in particular, sometimes we also checked the verbosity,
      and sometimes we didn't.
      
      This lead to oddities such as "ghc -v4" printing an "Asm code" section
      which didn't contain any code, and "-v4" enabled some parts of
      "-ddump-deriv" but not others.
      
      Now all the tests use dopt, which also takes the verbosity into account
      as appropriate.
      d4a19643
  15. 17 Oct, 2012 1 commit
  16. 16 Oct, 2012 3 commits
  17. 15 Oct, 2012 2 commits
  18. 13 Oct, 2012 1 commit
  19. 09 Oct, 2012 5 commits
  20. 08 Oct, 2012 3 commits
  21. 03 Oct, 2012 2 commits
    • ian@well-typed.com's avatar
    • ian@well-typed.com's avatar
      Build the dynamic way by default on Linux/amd64 · 898cb090
      ian@well-typed.com authored
      This required various build system changes to get the build to go
      through.
      
      In the inplace shell wrappers, we set LD_LIBRARY_PATH to allow programs
      to find their libraries. In the future, we might change the inplace tree
      to be the same shape as an installed tree instead. However, this would
      mean changing the way we do installation, as currently we use cabal's
      installation methods to install the libraries, but that only works if
      the libraries are under libraries/foo/dist-install/build/..., rather
      than in inplace/lib/...
      898cb090
  22. 02 Oct, 2012 1 commit
  23. 01 Oct, 2012 3 commits
  24. 29 Sep, 2012 1 commit
    • ian@well-typed.com's avatar
      Change how we handle options required by 'way's · f6983efb
      ian@well-typed.com authored
      We used to add the options when the way was enabled, but this caused
      problems with the static/dynamic choice, as once the 'dynamic' options
      had been added it wasn't easy to remove them. We therefore didn't allow
      -static on the commandline if we'd already seen -static, which kludged
      around the issue.
      
      But apart from being unsatisfactory in the first place, this is a
      problem if we want to allow -dynamic being on by default, as there
      wouldn't be any way to turn it off.
      
      So now we add C/CPP/linker flags required by the 'way's when flags
      are requested, rather than during flag parsing.
      f6983efb