Page 1 of 1

Building own .so extension/library

Posted: Thu Nov 13, 2003 4:47 am
by devork
-I have knowledge of c/c++ and php,
-I want to make my own " .so " extension so that I may used it
dl("my_extension.so").
-From where do I start building ....what the first step.

Posted: Thu Nov 13, 2003 10:39 am
by volka
taking a look at existing extensions is probably the best way to start.
the bz2-module is quite simple, then maybe tokenizer and then perhaps exif.
After you have some clue of what's going on there, read README.EXT_SKEL from the source code package. It describes an easy way to build an empty skeleton of an extension.

Posted: Fri Nov 14, 2003 5:59 am
by devork
ok thanx
but is there any handy tutorial, clearing the basics: :?: