that's not the problem, regulary you can compile the same c-code with mingw as tcl-extenxion-dll with directive TCL_USE_STUBS. It works.
The created dll can loaded in the tclsh and will work.
The dll can loaded in tclkit and will work.
The dll can packed in tclkit and can loaded and it will work. The dependencies are not the problem.
In tclsh the tcltcc used the same c-code do build dll. You can't load the dll. The dependencies are the problem.
So, i work with mingw to create dll's for tcl. The use of tcltcc would be fine if it works. So the the development environment can be very tiny. That's my goal ;-)
Thanks and greeting - kmatze