c2hs
The short answer is
% gzip -cd <package>.tar.gz | tar xvf - # unpack the sources
% cd <package> # change to the toplevel directory
% ./Setup.hs configure # configure the build system
% ./Setup.hs build # build everything
[ Become root if necessary ]
% ./Setup.hs install # install c2hs
In the INSTALL
file, there are more details.
Optionally, you can build the documentation by issuing make doc
and
install it with make install-doc
.
sect>Usage of C->Haskell
Let's have a brief look at how to call the tool and how to use the generated interfaces.
c2hs