Added descriptions of how to build dynamic loadable module.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Jonah Beckford 2003-03-10 19:12:20 +00:00
commit 756581a3a2
3 changed files with 42 additions and 6 deletions

View file

@ -9,8 +9,17 @@ zlib -- a wrapping of the zlib compression library
Note that the examples in this directory build a special version of
the CHICKEN interpreter (statically linked) which includes the wrapped
functions in the top-level module.
If you want to put the wrapped functions into your own module,
statically or dynamically linked, see the Examples/GIFPlot/Chicken
functions in the top-level module. Just run "make" in any example
directory.
** If you have a platform that supports dynamic linking (most UNIXes
** and Win32), then you can run "make module" in any example
** directory. This will create a dynamic module called
** module.dll/module.so/module.shl (depending on your platform), which
** you can use with the following:
(load-library 'precsi "module.dll")
or
(load-library 'example "module.dll")