- 18 Jun, 2011 1 commit
-
-
dterei authored
-
- 31 May, 2011 1 commit
-
-
daniel.is.fischer authored
-
- 12 Apr, 2011 1 commit
-
-
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.
-
- 08 Jul, 2010 1 commit
-
-
Simon Marlow authored
-
- 28 Feb, 2010 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 23 Feb, 2010 1 commit
-
-
Ian Lynagh authored
-
- 23 Sep, 2009 1 commit
-
-
Simon Marlow authored
-
- 15 Sep, 2009 1 commit
-
-
Simon Marlow authored
-
- 04 Jul, 2009 1 commit
-
-
Duncan Coutts authored
And add links to the new shared libs section.
-
- 11 Jul, 2008 1 commit
-
-
Simon Marlow authored
-
- 01 May, 2008 1 commit
-
-
claus.reinke@talk21.com authored
Documentation and examples taken from - ghc-pkg/Main.hs usageHeader - patch: FIX 1463 (implement 'ghc-pkg find-module') - patch: FIX #1839, #1463, by supporting ghc-pkg bulk queries with substring matching
-
- 16 Nov, 2007 1 commit
-
-
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.
-
- 07 Oct, 2007 1 commit
-
-
Josef Svenningsson authored
-
- 14 Sep, 2007 1 commit
-
-
Clemens Fruhwirth authored
-
- 16 Jul, 2007 1 commit
-
-
Ian Lynagh authored
-
- 28 Mar, 2007 1 commit
-
-
Simon Marlow authored
-
- 09 Jan, 2007 1 commit
-
-
Simon Marlow authored
-
- 22 Dec, 2006 1 commit
-
-
simonpj@microsoft.com authored
-
- 23 Sep, 2006 1 commit
-
-
sven.panne@aedion.de authored
-
- 24 Aug, 2006 1 commit
-
-
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.
-
- 07 Apr, 2006 1 commit
-
-
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.
-
- 08 Nov, 2005 1 commit
-
-
simonmar authored
more docs for GHC_PACKAGE_PATH
-
- 04 Nov, 2005 1 commit
-
-
simonmar authored
Document GHC_PACKAGE_PATH, and changes to the ghc-pkg command line interface.
-
- 28 Oct, 2005 1 commit
-
-
simonmar authored
Fix links to library doc for Haddock 0.7.
-
- 03 Aug, 2005 1 commit
-
-
simonmar authored
Update documentation for ghc-pkg list and ghc-pkg latest.
-
- 21 Jun, 2005 1 commit
-
-
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.
-
- 31 May, 2005 1 commit
-
-
simonmar authored
Fix the names of a few fields.
-
- 07 Apr, 2005 1 commit
-
-
simonmar authored
Add the -hide-all-packages flag.
-
- 16 Mar, 2005 1 commit
-
-
simonmar authored
Fix InstalledPackageInfo link
-
- 15 Feb, 2005 1 commit
-
-
simonmar authored
Update documentation of ghc-pkg command
-
- 14 Feb, 2005 1 commit
-
-
simonmar authored
Fix documentation for ghc-pkg list.
-
- 10 Feb, 2005 1 commit
-
-
ross authored
xrefs to Cabal docs
-
- 21 Jan, 2005 1 commit
-
-
simonmar authored
Update packages documentation (phew)
-
- 27 Sep, 2004 1 commit
-
-
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).
-
- 16 Aug, 2004 1 commit
-
-
panne authored
Correct DocBook XML now
-
- 15 Aug, 2004 1 commit
-
-
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.
-
- 08 Aug, 2004 1 commit
-
-
krasimir authored
xmlize sgml docbooks
-
- 22 Jun, 2004 1 commit
-
-
simonpj authored
Clarify words about the -package flag
-
- 09 Dec, 2003 1 commit
-
-
simonmar authored
Add note about -all_load instead of --whole-archive on MacOS X.
-