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: branch diff | 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].

1
2
3
4
5
6
7
8
9
10
11
12
13

14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
10
11
12

13
14
15
16
17
18
19
20












-
+







#! /usr/bin/env bash

# Determine appropriate mode
mode="build"
case "$1" in
	clean|distclean|build|retry)
		mode="$1"
		shift
		;;
esac

# Determine which Tcl version to build
TCLVERS="8.5.14"
TCLVERS="8.6.1"
if echo "$1" | grep '^[0-9][0-9]*\.' >/dev/null || echo "$1" | egrep '^(cvs|fossil)_' >/dev/null; then
	TCLVERS="$1"

	shift
fi
export TCLVERS

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













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

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

1
2
3
4
5
6
7

8
9
10
11
12
13
1
2
3
4
5
6

7
8
9
10
11
12
13






-
+






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