Re: I now know why there's no binding to FTGL nor to GLTT

Nick Name <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.