1. 24 May, 2009 5 commits
  2. 23 May, 2009 8 commits
  3. 22 May, 2009 1 commit
    • Ian Lynagh's avatar
      Change how we find the host/build/target platforms · 82fbc4be
      Ian Lynagh authored
      Rather than using the autoconf built-in stuff and mangling it, we
      now just ask the bootstrapping compiler what platform we are on.
      
      When doing a port of GHC, you need to specify the platform you are
      porting to.
      
      The minimum version of GHC required is now 6.8.
      82fbc4be
  4. 20 May, 2009 2 commits
  5. 28 Mar, 2009 1 commit
  6. 06 May, 2009 2 commits
  7. 28 Mar, 2009 1 commit
  8. 22 May, 2009 1 commit
  9. 21 May, 2009 5 commits
  10. 20 May, 2009 1 commit
  11. 21 May, 2009 4 commits
  12. 20 May, 2009 1 commit
  13. 19 May, 2009 4 commits
  14. 17 May, 2009 1 commit
  15. 15 May, 2009 2 commits
    • Duncan Coutts's avatar
      Set the soname when creating a shared lib · 6efacfe8
      Duncan Coutts authored
      It's still possible to override it, just use -optl-Wl,-soname, eg:
      ghc -shared -dynamic foo.o -o libfoo.so -optl-Wl,-soname,libbar.so
      6efacfe8
    • Duncan Coutts's avatar
      Keep C main separate from rts lib and link it in for standalone progs · fa00cc50
      Duncan Coutts authored
      Previously the object code for the C main function lived in the rts
      lib, however this is a problem when the rts is built as a shared lib.
      With Windows DLLs it always causes problems while on ELF systems it's a
      problem when the user decides to use their own C main function rather
      than a Haskell Main.main. So instead we now put main in it's own tiny
      little static lib libHSrtsmain.a which we install next to the rts libs.
      Whenever ghc links a program (without -no-hs-main) then it also links
      in -lHSrtsmain. For consistency we always do it this way now rather
      than trying to do it differently for static vs shared libraries.
      fa00cc50
  16. 14 May, 2009 1 commit
    • Duncan Coutts's avatar
      Remove old Windows-only implementation of keeping main outside the rts · 3d411991
      Duncan Coutts authored
      We now do it for all ways and for all platforms. This was a Windows-only
      version that only kept a separate Main.dyn_o for the dynamic linking case.
      It had to do that because Windows DLLs are stricter about unresolved symbols
      where as for ELF platforms we only run into the problem when we're not using
      a Haskell main function.
      3d411991