[commit: ghc] master: More work towards dynamic programs on Windows (b35a6ce)
Ian Lynagh
igloo at earth.li
Sun May 12 21:50:47 CEST 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
https://github.com/ghc/ghc/commit/b35a6ce0e34255d200ddcf341ffc645fd237ea32
>---------------------------------------------------------------
commit b35a6ce0e34255d200ddcf341ffc645fd237ea32
Author: Ian Lynagh <igloo at earth.li>
Date: Sun May 12 01:44:02 2013 +0100
More work towards dynamic programs on Windows
Dynamic GHC is now working in-place, but pathologically slow due
to the DLL split.
(GHC assumes that all intra-package calls are in the same DLL, but that
isn't true when we split the GHC package into 2 DLLs. That means that
GHC's startup time is around 22 seconds, as it is doing run-time
linking).
Also, ghci isn't actually working yet:
$ inplace/bin/ghc-stage2 --interactive
GHCi, version 7.7.20130512: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... <command line>: can't load .so/.DLL for:
HSghc-prim-0.3.1.0.dll (addDLL: could not load DLL)
ghc-stage2.exe: HSghc-prim-0.3.1.0: The specified module could not be
found.
driver/utils/dynwrapper.c | 197 ++++++++++++++++++++++++++++++++++++++++++++++
ghc.mk | 9 +++
rules/build-prog.mk | 21 ++++-
utils/ghc-cabal/Main.hs | 1 +
4 files changed, 227 insertions(+), 1 deletion(-)
Diff suppressed because of size. To see it, use:
git show b35a6ce0e34255d200ddcf341ffc645fd237ea32
More information about the ghc-commits
mailing list