From: Daniel A. S. <st...@ic...> - 2005-08-21 07:44:04
|
Kevin, On 21/08/2005, at 2:02, Kevin Walzer wrote: > Does Daniel's build of Swig automatically generate stub-supported Tcl > extensions, as it appears to have stub support enabled? Or are there > some additional steps I need to take to ensure extensions are built > against stubs? sorry no time to go into detail ATM, but yes, my SWIG build is stubs enabled (c.f. my SWIG patch at the usual location) for details on how to build & link, see /Library/Tcl/demos/SWIG/Makefile in particular the target: tcl: $(SRCS) $(SWIG) -tcl8 $(SWIGOPT) $(TCL_SWIGOPTS) $(INTERFACE) $(CC) -c -DUSE_TCL_STUBS $(CCSHARED) $(CFLAGS) $(SRCS) $(ISRCS) $(INCLUDES) $(TCL_INCLUDE) $(TCL_LDSHARED) $(OBJS) $(IOBJS) $(TCL_STUBLIB) $(LIBS) -o $(LIBPREFIX)$(TARGET)$(TCL_SO) the demos in the tcl subdir there have concrete examples of swig bindings that link & wark (last I tested) Cheers, Daniel -- ** Daniel A. Steffen ** "And now for something completely ** Dept. of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |