From: John P. <joh...@st...> - 2006-12-17 23:53:02
|
Hi all Does anyone know of a project that uses SWIG to builds multiple .i files into multiple _wrap.cc files that then links together _wrap.o object files to create a single Python module? My current API is getting large and compiling my _wrap.cc file needs more RAM than I have. I haven't been able to work out how to link together mulitple _wrap.o files -- so was hoping that someone might know of a FOSS project with some relevant example code? William Fulton previously suggested that I look at the %import macro. I had already used that but I am not clear on whether my .i files should *all* contain a '%module' declaration, or only one of them. Am I building one module, or many, if I use this multiple _wrap.o file approach? This use case doesn't appear to be documented (but please correct me if I'm wrong on that). Cheers JP -- John Pye Department of Mechanical and Manufacturing Engineering University of New South Wales, Sydney, Australia. john.pye AT student DOT unsw.edu.au |