On Fri, Jan 24, 2014 at 12:19 PM, Facundo Domínguez <
facundo.doming...@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
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to