Re: Wrapping a Windows DLL with SWIG/TEA3/whatever



On Mon, 30 Oct 2006, Ralph Clark wrote:

On the other hand, if I modify the TEA3/win/makefile.vc to use my
wrapper.c, and invoke nmake from the Win command line, it complains that
compiler options /GL and /YX are incompatible. I gather that /YX has
something to do with autogenerating header files, but I can't even find
any documentation on what /GL means.

There is something Wrong with Tcl makefile.vc's, as can be read from Tcl
Bug #1582769 at Sourceforge tracker. Or maybe the problem is in compiler.
Don't know.

However, I bypassed that problem by changing line
cdebug = $(OPTIMIZATIONS)
from makefile.vc to simply
cdebug =
and it compiled without fuss. Most likely something will be horribly wrong
later, but my priority was to get out something even resembling a working
binary, no questions asked :) Maybe that helps.

--
-Kaitzschu
s="TCL ";while true;do echo -en "\r$s";s=${s:1:${#s}}${s:0:1};sleep .1;done
.



Relevant Pages

  • Re: AJAX for Tcl web servers, like tclhttpd or wub
    ... The compiler runs as a Java servlet, ... maniplate those within TCL with easy to learn syntax. ... the plugin outputs JaveScript and has direct access to ... Lots and lots of responces and ideas are always welcome. ...
    (comp.lang.tcl)
  • Re: TCL vs. Perl
    ... I started this discussion about TCL versus other ... Perl has binary compiler, but is actually not machien code, but some ... I thought any interpreted language could be compiled into machine code. ... set channel ...
    (comp.lang.tcl)
  • Re: create a single self-contained standalone expect binary on solaris 8
    ... checking for gcc... ... checking whether the C compiler is a cross-compiler... ... checking for Tcl configuration... ... checking if Tcl library build specification is valid... ...
    (comp.lang.tcl)
  • Re: Tcl and C++
    ... > resembling Tcl arrays) and iterators. ... > don't know yet any usable compiler which conforms to language standard. ... a source code navigating, analysis and developing tool. ...
    (comp.lang.tcl)
  • Re: Tcl Compiler
    ... My situation is that the scripts are new to me and very large and I ... also know there are bugs in the code (scripts are so large some parts ... Check out Cameron Laird's notes on Tcl compilers: ... succesful is the commercial ICE compiler. ...
    (comp.lang.tcl)