mirror of https://github.com/swig/swig.git
Complete the prototype removal in ca1431. The script prevents SWIGTOOL=gdb from working as gdb can't be used to debug a shell script, it requires a binary. Add support for SWIGTOOL in all the examples. SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles. See issue #473. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| README | ||
| mod1.i | ||
| mod2.i | ||
| multi.setup | ||
| multi_init.scm | ||
| single.i | ||
| single.setup | ||
| test.scm | ||
README
These examples show how to build a chicken extension module in the form of an egg. There are two eggs that get built, single.egg which contains a single module which is built with -nounit and multi.egg, which contains two modules mod1 and mod2. These are built normally, and multi_init.scm loads them both. Read section "17.4.2 Building chicken extension libraries" in the manual for a description of these two techniques. To build: $ make $ make setup $ make run $ make clean The eggs are built into an eggs subdirectory, because chicken-setup has problems installing eggs when there are other files named similar in the same directory. The make setup step runs chicken-setup to install the eggs into the eggs/install directory.