[commit: ghc] master: Fix #5289 (loading libstdc++.so in GHCi), and also fix some other (9babbc8)
Simon Marlow
marlowsd at gmail.com
Wed Aug 3 14:11:46 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9babbc8ddb62308762947debfe022635df1fce82
>---------------------------------------------------------------
commit 9babbc8ddb62308762947debfe022635df1fce82
Author: Simon Marlow <marlowsd at gmail.com>
Date: Tue Aug 2 14:17:18 2011 +0100
Fix #5289 (loading libstdc++.so in GHCi), and also fix some other
linking scenarios. We weren't searching for .a archives to satisfy
-lfoo options on the GHCi command line, for example.
I've tidied up the code in this module so that dealing with -l options
on the command line is consistent with the handling of extra-libraries
for packages.
While I was here I moved some stuff out of Linker.hs that didn't seem
to belong here: dataConInfoPtrToName (now in new module DebuggerUtils)
and lessUnsafeCoerce (now in DynamicLoading, next to its only use)
compiler/ghc.cabal.in | 2 +-
compiler/ghci/DebuggerUtils.hs | 129 +++++++++++++++++++++
compiler/ghci/Linker.lhs | 228 ++++++++++---------------------------
compiler/ghci/RtClosureInspect.hs | 1 +
compiler/main/DynamicLoading.hs | 21 ++++-
compiler/main/SysTools.lhs | 84 ++++++++++----
6 files changed, 268 insertions(+), 197 deletions(-)
Diff suppressed because of size. To see it, use:
git show 9babbc8ddb62308762947debfe022635df1fce82
More information about the Cvs-ghc
mailing list