1. 23 Mar, 2013 1 commit
    • ian@well-typed.com's avatar
      Change how we handle libffi · b30015e7
      ian@well-typed.com authored
      I think overall the new approach is simpler. Rather than unpacking
      the libffi.a and putting the .o files into our libHSrts.a, we just
      use the libffi.a.
      
      This change also means that when compiling programs for the dyn
      way, they get explicitly linked against libffi.so (rather than
      relying on librts.so being linked against it). This might
      fix a problem on FreeBSD, where programs cannot find libffi.so.
      b30015e7
  2. 22 Mar, 2013 2 commits
  3. 18 Mar, 2013 2 commits
  4. 17 Mar, 2013 2 commits
    • PHO's avatar
      Enable Opt_PIC for the dyn way regardless of OSes. · 84df08de
      PHO authored
      We were previously enabling Opt_PIC on certain OSes namely Windows,
      Darwin and Linux, but it should always be enabled for the dyn way
      because it makes no sense to try to generate non-PIC dynamic
      libraries, which is usually impossible.
      84df08de
    • PHO's avatar
      Remove a bitrotted hack for OpenBSD and NetBSD regarding the dyn way. · ae3dcaf5
      PHO authored
      On OpenBSD and NetBSD, we were accidentally passing "-optl-pthread" to
      the gcc to build dynamic libraries because of a bitrotted hack for
      those OSes, which resulted in a weird situation where every dynamic
      library is named "ptl-pthread" and placed at "$(TOP)".
      
      The hack in question were to work around a linkage problem with
      libHSffi, but we no longer build it and just use libffi these days so
      the hack can safely be removed.
      ae3dcaf5
  5. 16 Mar, 2013 2 commits
  6. 15 Mar, 2013 3 commits
  7. 13 Mar, 2013 1 commit
  8. 09 Mar, 2013 7 commits
  9. 08 Mar, 2013 1 commit
  10. 07 Mar, 2013 2 commits
  11. 03 Mar, 2013 1 commit
  12. 02 Mar, 2013 5 commits
  13. 28 Feb, 2013 5 commits
  14. 25 Feb, 2013 1 commit
    • Gabor Greif's avatar
      Split SettingsCCompilerFlags into non-link and link portions · 890f4657
      Gabor Greif authored
      This fixes certain older GCCs which do not accept link options when assembling or compiling:
      
        ppc_85xx-gcc: --hash-size=31: linker input file unused because linking not done
        ppc_85xx-gcc: --reduce-memory-overheads: linker input file unused because linking not done
      
      and diagnose this to stderr.
      890f4657
  15. 24 Feb, 2013 1 commit
  16. 21 Feb, 2013 1 commit
  17. 20 Feb, 2013 2 commits
  18. 19 Feb, 2013 1 commit