Hi,

To be able to cross compile Tcl 8.5.14 on Linux with MinGW for Windows, I have to apply the following patch:

diff -ru
--- 2013-03-22 12:39:05.000000000 +0100
+++ 2013-05-26 09:28:57.000000000 +0200
@@ -168,7 +168,7 @@
  *       MSVCRT.
  */

-#if (defined(__WIN32__) && (defined(_MSC_VER) || (__BORLANDC__ >= 0x0550) || defined(__LCC__) || defined(__WATCOMC__) || (defined(__GNUC__) && defined(__declspec))))
+#if (defined(__WIN32__) && (defined(_MSC_VER) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x0550)) || defined(__LCC__) || defined(__WATCOMC__) || (defined(__GNUC__) && defined(__declspec))))
 #   define HAVE_DECLSPEC 1
 #   ifdef STATIC_BUILD
 #       define DLLIMPORT


I hope you can include this patch, so that I don't have to apply it over and over again :)

I also have to apply the following for some reasons unknown to me, maybe you an help me understand why:
diff -ru
--- 2013-04-01 20:36:36.000000000 +0200
+++ 2013-05-26 09:34:41.000000000 +0200
@@ -606,7 +606,7 @@
            $(COPY) $(REG_LIB_FILE) $(LIB_INSTALL_DIR)/reg$(REGDOTVER); \
            fi

-install-libraries: libraries install-tzdata install-msgs
+install-libraries: libraries
        @for i in $(prefix)/lib $(INCLUDE_INSTALL_DIR) \
                $(SCRIPT_INSTALL_DIR); \
            do \
 and

--- 2013-04-01 20:36:35.000000000 +0200
+++ 2013-05-26 09:28:57.000000000 +0200
@@ -15068,7 +15068,7 @@
 else

            if test "$cross_compiling" = yes; then
-  tcl_cv_strtod_buggy=buggy
+  tcl_cv_strtod_buggy=ok
 else
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */


I hope to hear from you soon.