Re: Tcl extensions built with lcc-win32



EL:
Olaf Dietrich schrieb:

I could build and load my extension, but only when linking with the
non-stubs libraries (tcl85.[lib|dll], tk85.[lib|dll]). However, I was not
able to build a version of the extension using the Tcl stubs mechanism,
i.e. linking with the tclstub85.lib library

[...]
Lcc seems to produces binaries that can not track down these function pointers. I suggest you the following:

a) compile Tcl and Tk with LCC and try these binaries for compiling your extension
b) just use MSVC. It also works with msys/gcc.

This means that it's not a question of linker parameters or lcc configuration, but rather a principal problem that the ActiveTcl tcl-stubs library cannot be used together with lcc-compiled extensions. In this case I know at least that it doesn't help to spend more time on building stubs-enabled extensions with lcc-win.

Thanks,
Olaf
.