1. 29 Jan, 2013 2 commits
  2. 25 Jan, 2013 1 commit
  3. 24 Jan, 2013 1 commit
  4. 17 Jan, 2013 1 commit
    • Simon Marlow's avatar
      Tidy up cross-compiling · 109a1e53
      Simon Marlow authored
      We have two cases:
       1. building a cross-compiler
       2. compiling GHC to run on a foreign platform
      
      These two are done with almost the same setup: (1) is the stage 1
      compiler, and (2) is the stage 2 compiler, when CrossCompiling=YES.
      
      The only difference between (1) and (2) is that you if you set up the
      build for (1), then it stops before stage 2 and you can 'make install'
      to install stage 1.
      
      Unfortunately, (2) didn't work, and the build system code needed some
      tidying up.
      
      Change to the way the build is set up:
      
      Before
      ------
      
      To build a cross-compiler:
        ./configure --target=<..>
      
      To compile a foreign GHC:
        ./configure --host=<..> --target=<..>
      
      Now
      ---
      
      To build a cross-compiler:
        ./configure --target=<..>
        And set "Stage1Only=YES" in mk/build.mk
      
      To compile a foreign GHC:
        ./configure --target=<..>
      109a1e53
  5. 10 Jan, 2013 1 commit
  6. 02 Jan, 2013 1 commit
  7. 30 Nov, 2012 1 commit
  8. 29 Nov, 2012 1 commit
    • ian@well-typed.com's avatar
      Add configure option to use system provided libffi; fixes #5743 · 3005e909
      ian@well-typed.com authored
      Based on patch from Peter Trommler:
      
          From 293495d40f62e691520331a41c6d85d82e120169 Mon Sep 17 00:00:00 2001
          From: Peter Trommler <ptrommler@acm.org>
          Date: Sun, 21 Oct 2012 18:47:01 +0200
          Subject: [PATCH] Add configure option to use system provided libffi This
           fixes track # 5743 and #4496.
      3005e909
  9. 13 Nov, 2012 1 commit
  10. 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
  11. 02 Nov, 2012 1 commit
  12. 31 Oct, 2012 1 commit
  13. 26 Oct, 2012 1 commit
  14. 25 Oct, 2012 3 commits
  15. 24 Oct, 2012 1 commit
  16. 16 Oct, 2012 1 commit
  17. 14 Oct, 2012 1 commit
  18. 10 Oct, 2012 1 commit
  19. 04 Oct, 2012 1 commit
  20. 03 Oct, 2012 2 commits
    • ian@well-typed.com's avatar
      Windows install fix · 911bc5ce
      ian@well-typed.com authored
      911bc5ce
    • 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
  21. 01 Oct, 2012 1 commit
  22. 26 Sep, 2012 1 commit
  23. 24 Jul, 2012 2 commits
  24. 18 Jul, 2012 1 commit
  25. 29 Jun, 2012 1 commit
  26. 07 Jun, 2012 1 commit
  27. 19 May, 2012 1 commit
  28. 15 May, 2012 1 commit
    • pcapriotti's avatar
      Rename package-conf flags to package-db. · ca2debb2
      pcapriotti authored
      Rename package database flags in both GHC and ghc-pkg so that they are
      consistent with Cabal nomenclature.
      
      Add a version check to the build system so that the correct set of
      package db flags are used when the bootstrapping GHC has version < 7.5.
      ca2debb2
  29. 07 May, 2012 1 commit
  30. 06 May, 2012 1 commit
    • Ian Lynagh's avatar
      Fix the way we call strip on DLLs · 9949db0a
      Ian Lynagh authored
      On Win64, "install -s" calls a strip that doesn't understand 64bit
      binaries. For some reason, this means the DLLs end up non-executable,
      which means executables that use them just segfault.
      9949db0a
  31. 05 May, 2012 1 commit
  32. 27 Apr, 2012 1 commit
    • Iavor S. Diatchki's avatar
      A build-system tweak for more readable build output. · d209588a
      Iavor S. Diatchki authored
      This change reduces the (default) verbosity of the build system.
      This makes it easier to spot warnings in the output and, also, it
      makes it easier to estimate how far along are we in the build process
      by just glancing at the output.
      
      To get the traditional fully verbose output, set V=1, like this:
      
          make V=1
      d209588a
  33. 25 Apr, 2012 1 commit
  34. 27 Feb, 2012 1 commit
  35. 22 Feb, 2012 1 commit