GHCi and C++.

Wolfgang Thaller wolfgang.thaller at gmx.net
Fri Feb 25 15:00:52 EST 2005


> I've written a binding to a C++ library where I use a simple wrapper
> file to overcome the name mangling (extern "C" functions calling C++,
> nothing fancy). Is there a way to make that more GHCi friendly or
> should I explore other options?

What exactly is going wrong?
Try wrapping your binding in a .so, that should hide all the C++ stuff 
from GHCi.

Cheers,

Wolfgang



More information about the Glasgow-haskell-users mailing list