Next: Pike Level and C
Up: Writing a C Module
Previous: The Files of a
  Contents
In order to write a new C module for Pike the first thing we need to
do is to add a new module to our Pike source tree. To do that we need to
create a new directory for the module in our module tree. In that
directory we need a skeleton for our new module. A skeleton in this
context means a working set of the four files mentioned in the
previous section. A skeleton that contains the files
1necessary and some guiding instructions
2 for
getting started can be found on the Pike web site. There is also a
module with a hello world application3, that compiles out of
the box and can serve as a guiding example.
Once the skeleton files are added and adjusted so that the new module ought to
exist the Pike has to be reconfigured and recompiled. After that, if
our module exists we can start to write C/CMOD code.
Next: Pike Level and C
Up: Writing a C Module
Previous: The Files of a
  Contents
2003-03-04