1. 06 Apr, 2013 1 commit
  2. 15 Mar, 2013 1 commit
  3. 11 Mar, 2013 1 commit
  4. 03 Mar, 2013 3 commits
  5. 02 Mar, 2013 1 commit
  6. 01 Mar, 2013 1 commit
  7. 19 Feb, 2013 1 commit
  8. 18 Feb, 2013 1 commit
  9. 17 Feb, 2013 1 commit
  10. 15 Feb, 2013 1 commit
  11. 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
  12. 05 Dec, 2012 1 commit
    • ian@well-typed.com's avatar
      Don't define DYNAMIC when compiling the dyn way · 3fc453af
      ian@well-typed.com authored
      We want to compile the sources only once, and to produce both vanilla
      and dyn object files. This means that the sources can't differ for the
      two ways.
      
      This needed a bit of a kludge to get keepCAFsForGHCi included only in
      the dynamic library.
      3fc453af
  13. 30 Nov, 2012 1 commit
  14. 23 Nov, 2012 1 commit
  15. 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
  16. 11 Oct, 2012 1 commit
    • Ian Lynagh's avatar
      Fix build on Windows · b921de76
      Ian Lynagh authored
      gcc couldn't find ghc_boot_platform.h. I'm not sure why it worked on
      Linux.
      b921de76
  17. 10 Oct, 2012 2 commits
  18. 17 Sep, 2012 1 commit
  19. 13 Sep, 2012 2 commits
  20. 05 Sep, 2012 1 commit
  21. 07 Aug, 2012 1 commit
  22. 05 Aug, 2012 3 commits
  23. 29 Jun, 2012 2 commits
  24. 04 May, 2012 2 commits
  25. 01 Apr, 2012 1 commit
  26. 17 Mar, 2012 1 commit
  27. 27 Feb, 2012 2 commits
  28. 07 Feb, 2012 1 commit
  29. 30 Jan, 2012 1 commit
  30. 17 Jan, 2012 1 commit
  31. 08 Jan, 2012 1 commit
    • Ian Lynagh's avatar
      Refactoring · 9e452874
      Ian Lynagh authored
      This is working towards being able to put ghcautoconf.h and
      ghcplatform.h in includes/dist
      9e452874