Static values language extension proposal

Brandon Allbery allbery.b at
Fri Jan 24 18:53:23 UTC 2014

On Fri, Jan 24, 2014 at 12:19 PM, Facundo Domínguez <
facundo.dominguez at> wrote:

> In principle, only symbols in shared libraries can be found. However,
> the dynamic linker is able to find symbols in modules that are linked
> statically if GHC is fed with the option -optl-Wl,--export-dynamic. A

This strikes me as highly platform specific to the Linux and possibly
FreeBSD implementations of ELF; it likely will not work with Solaris ELF,
which handles dynamic symbols differently (or at least used to), and will
not work with non-ELF platforms (OS X, Windows) and probably won't work
with a non-GNU ld such as is used on Solaris and OS X.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list