Hi Folks,
Background:
        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.

Some questions:
        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  
this matter.

Thanks,
David
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



_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to