Jeremy Wazny wrote:

1. Use GHC with unregisterised libraries that have been compiled by gcc
using -fPIC.

Interesting idea, as far as I'm aware noone has ever tried this. It might work, but is almost certainly tricky.

I haven't been able to figure out how to actually build unregisterised
libraries.

You need to get yourself a GHC source tree and add 'GhcLibWays=u' to mk/build.mk, then build everything. You'll also need to add -optc-fPIC in the right places; add it to GhcLibHcOpts might be enough.

Cheers,
        Simon
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to