[Pythonmac-SIG] library build example?
vip at avatar.com.au
Wed Mar 7 15:14:08 CET 2007
I'm porting a number of c/c++ programs as libraries for python
import using SWIG + SCONS or MAKE
I can build a lib*.so library OK (a compiled c program uses it)
I can SWIG to produce the *wrap.c and *.py files.
I'm having trouble with the next step : linking/loading the *wrap.c
and lib*.so library into a single library that can be loaded as a
python module using the
SWIG produced *.py file.
Do I need to make the first *so or not or is it necessary/usual
practice to SWIG and then build the whole final library in one hit.
Does anyone have a simple example using either SCONS or MAKE, which
has the correct ld options for OSX10.4.8?
I would appreciate any advice from those w. more experience than I on
intel OSX 10.4.8, various versions of python 2.3 ->>
experimental polymedia: www.avatar.com.au
Sonic Communications Research Group,
University of Canberra: www.canberra.edu.au/vc-forum/scrg
vip=Verbal Interactivity Project
More information about the Pythonmac-SIG