#5435: GHCi linker should run constructors for linked libraries
---------------------------------+------------------------------------------
Reporter: pumpkin | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.2.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonmar):
see also #5386
Note that if you put the constructor in a shared library (.so or .dll)
then the constructor will be run when the library is loaded, because GHCi
invokes the system linker for these.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5435#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs