On 9/24/06, Stephan Walter <[EMAIL PROTECTED]> wrote:
gcc -g -Wall -I/usr/lib/ghc-6.4.2/include -c -o hsinit.o hsinit.c
or
ghc -c hsinit.c
or even
ghc -Wall -optl "-shared" -o libtestffi.so \
hsinit.c testffi.o testffi_stub.o
Could anybody familiar with ghc linking details comment on this
constructor/destructor thing so that we can add a wiki about building
shared objects?
--
Tolik
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe