Don't forget to say which platform you're on - the solution might be slightly platform-dependent.
This should be... extern "C" void __stginit_Foo ( void );
On Mac OS X, all you need to do is add -lstdc++ to your ghc command line; it may or may not be that easy on other platforms. Cheers, Wolfgang |
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users