The Binding Generator C->Haskell : Installation : I Got Everything, and Now?
Previous: What Else Do I Need?
Next: Usage of c2hs

1.3. I Got Everything, and Now?

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.


The Binding Generator C->Haskell : Installation : I Got Everything, and Now?
Previous: What Else Do I Need?
Next: Usage of c2hs