1. 18 Jun, 2011 1 commit
  2. 31 May, 2011 1 commit
  3. 12 Apr, 2011 1 commit
    • Simon Marlow's avatar
      Change the way module initialisation is done (#3252, #4417) · a52ff761
      Simon Marlow authored
      Previously the code generator generated small code fragments labelled
      with __stginit_M for each module M, and these performed whatever
      initialisation was necessary for that module and recursively invoked
      the initialisation functions for imported modules.  This appraoch had
      drawbacks:
      
       - FFI users had to call hs_add_root() to ensure the correct
         initialisation routines were called.  This is a non-standard,
         and ugly, API.
      
       - unless we were using -split-objs, the __stginit dependencies would
         entail linking the whole transitive closure of modules imported,
         whether they were actually used or not.  In an extreme case (#4387,
         #4417), a module from GHC might be imported for use in Template
         Haskell or an annotation, and that would force the whole of GHC to
         be needlessly linked into the final executable.
      
      So now instead we do our initialisation with C functions marked with
      __attribute__((constructor)), which are automatically invoked at
      program startup time (or DSO load-time).  The C initialisers are
      emitted into the stub.c file.  This means that every time we compile
      with -prof or -hpc, we now get a stub file, but thanks to #3687 that
      is now invisible to the user.
      
      There are some refactorings in the RTS (particularly for HPC) to
      handle the fact that initialisers now get run earlier than they did
      before.
      
      The __stginit symbols are still generated, and the hs_add_root()
      function still exists (but does nothing), for backwards compatibility.
      a52ff761
  4. 08 Jul, 2010 1 commit
  5. 28 Feb, 2010 2 commits
  6. 23 Feb, 2010 1 commit
  7. 23 Sep, 2009 1 commit
  8. 15 Sep, 2009 1 commit
  9. 04 Jul, 2009 1 commit
  10. 11 Jul, 2008 1 commit
  11. 01 May, 2008 1 commit
  12. 16 Nov, 2007 1 commit
    • Simon Marlow's avatar
      Change the command-line semantics for query commands · 83e0b373
      Simon Marlow authored
      From the help text:
      
        Commands that query the package database (list, latest, describe,
        field) operate on the list of databases specified by the flags
        --user, --global, and --package-conf.  If none of these flags are
        given, the default is --global --user.
      
      This makes it possible to query just a single database (e.g. the
      global one without the user one), which needed tricks to accomplish
      before.
      83e0b373
  13. 07 Oct, 2007 1 commit
  14. 14 Sep, 2007 1 commit
  15. 16 Jul, 2007 1 commit
  16. 28 Mar, 2007 1 commit
  17. 09 Jan, 2007 1 commit
  18. 22 Dec, 2006 1 commit
  19. 23 Sep, 2006 1 commit
  20. 24 Aug, 2006 1 commit
    • Simon Marlow's avatar
      Update for changes to packages · c5a9ed64
      Simon Marlow authored
      Not much has changed really: just the removal of the overlap
      restriction, and the re-instatement of the requirement that
      -package-name must be used when compiling a package now.
      c5a9ed64
  21. 07 Apr, 2006 1 commit
    • Simon Marlow's avatar
      Reorganisation of the source tree · 0065d5ab
      Simon Marlow authored
      Most of the other users of the fptools build system have migrated to
      Cabal, and with the move to darcs we can now flatten the source tree
      without losing history, so here goes.
      
      The main change is that the ghc/ subdir is gone, and most of what it
      contained is now at the top level.  The build system now makes no
      pretense at being multi-project, it is just the GHC build system.
      
      No doubt this will break many things, and there will be a period of
      instability while we fix the dependencies.  A straightforward build
      should work, but I haven't yet fixed binary/source distributions.
      Changes to the Building Guide will follow, too.
      0065d5ab
  22. 08 Nov, 2005 1 commit
  23. 04 Nov, 2005 1 commit
  24. 28 Oct, 2005 1 commit
  25. 03 Aug, 2005 1 commit
  26. 21 Jun, 2005 1 commit
    • simonmar's avatar
      [project @ 2005-06-21 12:03:25 by simonmar] · 359313f8
      simonmar authored
      Document changes to the package system.
      
      A nice side effect of the relaxed restrictions is that the
      -ignore-package flag is no longer required when compiling a package
      (unless the package is "base", and even in that case we might be able
      to get away with -hide-package base).  For now, I've removed
      references that talk about using -ignore-package when compiling a
      package, and simplified the documentation for -ignore-package.
      359313f8
  27. 31 May, 2005 1 commit
  28. 07 Apr, 2005 1 commit
  29. 16 Mar, 2005 1 commit
  30. 15 Feb, 2005 1 commit
  31. 14 Feb, 2005 1 commit
  32. 10 Feb, 2005 1 commit
  33. 21 Jan, 2005 1 commit
  34. 27 Sep, 2004 1 commit
    • simonmar's avatar
      [project @ 2004-09-27 13:49:26 by simonmar] · 305c762e
      simonmar authored
      A few updates to the local Emacs variables in these files.  For some
      reason, I can't get Emacs' PSGML mode to work with the new XML files
      (although I thought I had it working before... strange).
      305c762e
  35. 16 Aug, 2004 1 commit
  36. 15 Aug, 2004 1 commit
    • panne's avatar
      [project @ 2004-08-15 20:37:22 by panne] · b9de29ac
      panne authored
      Started to convert the users guide to DocBook XML. Not yet finished, there are
      still *tons* of misplaced indexterms, but some sensible documentation can
      already be generated.
      b9de29ac
  37. 08 Aug, 2004 1 commit
  38. 22 Jun, 2004 1 commit
  39. 09 Dec, 2003 1 commit