projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
676bb27
)
[project @ 2004-05-24 09:13:21 by simonmar]
author
simonmar
<unknown>
Mon, 24 May 2004 09:13:21 +0000
(09:13 +0000)
committer
simonmar
<unknown>
Mon, 24 May 2004 09:13:21 +0000
(09:13 +0000)
Comment update
ghc/compiler/ghci/Linker.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/ghci/Linker.lhs
b/ghc/compiler/ghci/Linker.lhs
index
ebccb9f
..
ffd16e2
100644
(file)
--- a/
ghc/compiler/ghci/Linker.lhs
+++ b/
ghc/compiler/ghci/Linker.lhs
@@
-778,9
+778,13
@@
linkPackage dflags pkg
-- dlopen-ing A with RTLD_NOW (see addDLL in Linker.c) will fail
-- when B has not been loaded before. In a nutshell: Reverse the
-- order of DLLs for dynamic linking.
-- dlopen-ing A with RTLD_NOW (see addDLL in Linker.c) will fail
-- when B has not been loaded before. In a nutshell: Reverse the
-- order of DLLs for dynamic linking.
+ -- This fixes a problem with the HOpenGL package (see "Compiling
+ -- HOpenGL under recent versions of GHC" on the HOpenGL list).
mapM_ (load_dyn dirs) (reverse dlls)
-- After loading all the DLLs, we can load the static objects.
mapM_ (load_dyn dirs) (reverse dlls)
-- After loading all the DLLs, we can load the static objects.
+ -- Ordering isn't important here, because we do one final link
+ -- step to resolve everything.
mapM_ loadObj objs
maybePutStr dflags "linking ... "
mapM_ loadObj objs
maybePutStr dflags "linking ... "