Static values language extension proposal

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


On Fri, Jan 24, 2014 at 12:19 PM, Facundo Domínguez <
facundo.dominguez at tweag.io> 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 gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20140124/f8bbe5eb/attachment.html>


More information about the Glasgow-haskell-users mailing list