Tcl Source Code

Check-in [43aae6f2a2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:oops, fix cygwin check in configure
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug-3508771
Files: files | file ages | folders
SHA1: 43aae6f2a251bc819b1607de73e4dc158a6c6476
User & Date: jan.nijtmans 2012-03-24 06:23:34
Context
2012-03-24
06:43
[Bug 3508771] load tclreg.dll in cygwin tclsh Implement TclWinConvertError, TclWinConvertWSAError, a... check-in: c503d14bcf user: jan.nijtmans tags: core-8-4-branch
06:23
oops, fix cygwin check in configure Closed-Leaf check-in: 43aae6f2a2 user: jan.nijtmans tags: bug-3508771
2012-03-23
23:04
use mingw-w64 as compiler in cygwin /win mode (cygwin itself cannot do that, as the -no-cygwin flag ... check-in: 1189a98121 user: jan.nijtmans tags: bug-3508771
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to win/configure.

1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
	POST_MAKE_LIB="\${RANLIB} \$@"
	MAKE_EXE="\${CC} -o \$@"
	LIBPREFIX="lib"

	extra_cflags="-pipe"
	extra_ldflags="-pipe"

	if test "$ac_cv_cygwin" != "yes"; then
	    case "$do64bit" in
		amd64|x64|yes)
		    CC="x86_64-w64-mingw32-gcc"
		    LD="x86_64-w64-mingw32-ld"
		    AR="x86_64-w64-mingw32-ar"
		    RANLIB="x86_64-w64-mingw32-ranlib"
		    RC="x86_64-w64-mingw32-windres"
	    ;;
	*)
		    CC="i686-w64-mingw32-gcc"
		    LD="i686-w64-mingw32-ld"
		    AR="i686-w64-mingw32-ar"
		    RANLIB="i686-w64-mingw32-ranlib"
		    RC="i686-w64-mingw32-windres"
	    ;;
	esac
	fi

	if test "${SHARED_BUILD}" = "0" ; then
	    # static
            echo "$ac_t""using static flags" 1>&6
	    runtime=







|







|
|





|







1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
	POST_MAKE_LIB="\${RANLIB} \$@"
	MAKE_EXE="\${CC} -o \$@"
	LIBPREFIX="lib"

	extra_cflags="-pipe"
	extra_ldflags="-pipe"

	if test "$ac_cv_cygwin" = "yes"; then
	    case "$do64bit" in
		amd64|x64|yes)
		    CC="x86_64-w64-mingw32-gcc"
		    LD="x86_64-w64-mingw32-ld"
		    AR="x86_64-w64-mingw32-ar"
		    RANLIB="x86_64-w64-mingw32-ranlib"
		    RC="x86_64-w64-mingw32-windres"
		;;
		*)
		    CC="i686-w64-mingw32-gcc"
		    LD="i686-w64-mingw32-ld"
		    AR="i686-w64-mingw32-ar"
		    RANLIB="i686-w64-mingw32-ranlib"
		    RC="i686-w64-mingw32-windres"
		;;
	esac
	fi

	if test "${SHARED_BUILD}" = "0" ; then
	    # static
            echo "$ac_t""using static flags" 1>&6
	    runtime=

Changes to win/tcl.m4.

457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
	POST_MAKE_LIB="\${RANLIB} \[$]@"
	MAKE_EXE="\${CC} -o \[$]@"
	LIBPREFIX="lib"

	extra_cflags="-pipe"
	extra_ldflags="-pipe"

	if test "$ac_cv_cygwin" != "yes"; then
	    case "$do64bit" in
		amd64|x64|yes)
		    CC="x86_64-w64-mingw32-gcc"
		    LD="x86_64-w64-mingw32-ld"
		    AR="x86_64-w64-mingw32-ar"
		    RANLIB="x86_64-w64-mingw32-ranlib"
		    RC="x86_64-w64-mingw32-windres"
	    ;;
	*)
		    CC="i686-w64-mingw32-gcc"
		    LD="i686-w64-mingw32-ld"
		    AR="i686-w64-mingw32-ar"
		    RANLIB="i686-w64-mingw32-ranlib"
		    RC="i686-w64-mingw32-windres"
	    ;;
	esac







|







|
|







457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
	POST_MAKE_LIB="\${RANLIB} \[$]@"
	MAKE_EXE="\${CC} -o \[$]@"
	LIBPREFIX="lib"

	extra_cflags="-pipe"
	extra_ldflags="-pipe"

	if test "$ac_cv_cygwin" = "yes"; then
	    case "$do64bit" in
		amd64|x64|yes)
		    CC="x86_64-w64-mingw32-gcc"
		    LD="x86_64-w64-mingw32-ld"
		    AR="x86_64-w64-mingw32-ar"
		    RANLIB="x86_64-w64-mingw32-ranlib"
		    RC="x86_64-w64-mingw32-windres"
		;;
		*)
		    CC="i686-w64-mingw32-gcc"
		    LD="i686-w64-mingw32-ld"
		    AR="i686-w64-mingw32-ar"
		    RANLIB="i686-w64-mingw32-ranlib"
		    RC="i686-w64-mingw32-windres"
	    ;;
	esac