[Haskell-cafe] Ghci dynamic linking (Was: C++ libraries and GHCI)

Paolo Losi paolo.losi at gmail.com
Fri Oct 2 08:51:58 EDT 2009


Thanks for the reply, Max.

If it's not something overly complex, I'll try to hack ghc
to see if I can produce a working patch...

probably that symbol type can be safely ignored by
ghci linker.

Thanks again for your help
Paolo


On Wed, Sep 30, 2009 at 2:29 PM, Max Bolingbroke
<batterseapower at hotmail.com> wrote:
> (Moving to ghc-users)
>
> I'd never seen V in nm output before:
>
> """
> The symbol is a weak object.  When a weak defined symbol is linked
> with a normal defined symbol, the normal defined symbol is used with
> no error.  When a weak undefined symbol is linked and the symbol is
> not defined, the value of the  weak symbol becomes zero with no error.
>  On some systems, uppercase indicates that a default value has been
> specified.
> """"


More information about the Glasgow-haskell-users mailing list