From: Kevin W. <sw...@wo...> - 2005-08-21 15:03:14
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniel, Thanks for pointing out the makefiles, I overlooked those. I will take a close look. Cheers, Kevin Walzer, PhD WordTech Software http://www.wordtech-software.com sw at wordtech-software.com Daniel A. Steffen wrote: | 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 | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDCJelJmdQs+6YVcoRAqv8AJ9VGXEVC1ch5Z4aOVtJoBHa3vHCPQCeKxZT tFlkAMl67gIumBA2TAWyw7E= =U9fv -----END PGP SIGNATURE----- |