Check-in [dc02a0b46a]
Overview
Comment:Changes to support building with Tcl/Tk 8.6.1 using MinGW on Windows.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tcl-8.6.1-MinGW-Win32
Files: files | file ages | folders
SHA1:dc02a0b46a8ea506895aa526d9916db2d13cd7f1
User & Date: mistachkin on 2013-09-24 21:18:38
Other Links: manifest | tags
Context
2013-09-24
21:28
Fix format of the MinGW diff file. check-in: 42c98fdbe5 user: mistachkin tags: tcl-8.6.1-MinGW-Win32
21:18
Changes to support building with Tcl/Tk 8.6.1 using MinGW on Windows. check-in: dc02a0b46a user: mistachkin tags: tcl-8.6.1-MinGW-Win32
2013-09-22
14:43
Corrected issue with performing checks using wrong compiler check-in: 6874e769d6 user: rkeene tags: trunk
Changes

Modified kitcreator from [f33d7d8aef] to [e99d7e9821].

     6      6   	clean|distclean|build|retry)
     7      7   		mode="$1"
     8      8   		shift
     9      9   		;;
    10     10   esac
    11     11   
    12     12   # Determine which Tcl version to build
    13         -TCLVERS="8.5.14"
           13  +TCLVERS="8.6.1"
    14     14   if echo "$1" | grep '^[0-9][0-9]*\.' >/dev/null || echo "$1" | egrep '^(cvs|fossil)_' >/dev/null; then
    15     15   	TCLVERS="$1"
    16     16   
    17     17   	shift
    18     18   fi
    19     19   export TCLVERS
    20     20   

Added tcl/patches/all/tcl-all-fix-stat64-bug2233954-mingw.diff version [2d6f2ed937].

            1  +diff -uNr /c/dev/Tcl/core/trunk/tcl/generic/tcl.h~0 /c/dev/Tcl/core/trunk/tcl/generic/tcl.h
            2  +--- /c/dev/Tcl/core/trunk/tcl/generic/tcl.h~0	2013-09-24 13:50:16 -0700
            3  ++++ /c/dev/Tcl/core/trunk/tcl/generic/tcl.h	2013-09-24 13:47:11 -0700
            4  +@@ -454,6 +454,8 @@
            5  + 	typedef struct __stat64 Tcl_StatBuf;
            6  + #   elif (defined(_MSC_VER) && (_MSC_VER < 1400)) || defined(_USE_32BIT_TIME_T)
            7  + 	typedef struct _stati64	Tcl_StatBuf;
            8  ++#   elif defined(__MINGW32_VERSION)
            9  ++	typedef struct _stati64	Tcl_StatBuf;
           10  + #   else
           11  + 	typedef struct _stat32i64 Tcl_StatBuf;
           12  + #   endif /* _MSC_VER < 1400 */

Modified tcl/patches/all/tcl-all-fix-stat64-bug2233954-newer.diff from [9340be2758] to [31178c1040].

     1      1   diff -uNr tclfossil_trunk.orig//generic/tcl.h tclfossil_trunk-1rsk//generic/tcl.h
     2      2   --- tclfossil_trunk.orig//generic/tcl.h	2012-05-04 16:11:58.000000000 -0500
     3      3   +++ tclfossil_trunk-1rsk//generic/tcl.h	2012-05-06 17:33:17.487466336 -0500
     4      4   @@ -475,6 +475,9 @@
     5      5    	/* Here is a 4-byte gap */
     6      6        } Tcl_StatBuf;
     7         - #elif defined(HAVE_STRUCT_STAT64)
            7  +#elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__)
     8      8   +#     ifdef HAVE_SYS_STAT_H
     9      9   +#       include <sys/stat.h>
    10     10   +#     endif
    11     11        typedef struct stat64 Tcl_StatBuf;
    12     12    #else
    13     13        typedef struct stat Tcl_StatBuf;