
24 Jul
2002
24 Jul
'02
8:48 a.m.
Write a thin wrapper with C linkage around the C++ stuff, using your favourite C++ compiler, e.g.
What do I have to distribute then? The C wrapper in the source, of course, but if I want a binary distribution, what do I do? Maybe I have to link the wrapper with the main program, but I've read that the main() function needs to be compiled with the C++ compiler for static initializations, how can I do this if the main is an haskell program? Vincenzo