summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-12-13 21:18:48 (GMT)
committernijtmans <nijtmans>2010-12-13 21:18:48 (GMT)
commit358e19e975dc6c8a25b8ff6cd4c5188ba3dae00e (patch)
treedf0987bfd3e70af07c61d0ed2ca02a54c3962d6b /win/tcl.m4
parent28b289525dc0521894d68c247e18e96d3ab5f6c5 (diff)
downloadtcl-358e19e975dc6c8a25b8ff6cd4c5188ba3dae00e.zip
tcl-358e19e975dc6c8a25b8ff6cd4c5188ba3dae00e.tar.gz
tcl-358e19e975dc6c8a25b8ff6cd4c5188ba3dae00e.tar.bz2
Cross-compile support for Win and UNIX (backported)
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 77bf2ca..4de8400 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -441,9 +441,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
AC_MSG_CHECKING([compiler flags])
if test "${GCC}" = "yes" ; then
- if test "$do64bit" != "no" ; then
- AC_MSG_WARN([64bit mode not supported with GCC on Windows])
- fi
SHLIB_LD=""
SHLIB_LD_LIBS=""
LIBS="-lws2_32"
@@ -546,8 +543,11 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
LDFLAGS_CONSOLE="-mconsole ${extra_ldflags}"
LDFLAGS_WINDOW="-mwindows ${extra_ldflags}"
- # gcc under Windows supports only 32bit builds
- MACHINE="X86"
+ if test "$do64bit" != "no" ; then
+ MACHINE="AMD64"
+ else
+ MACHINE="X86"
+ fi
else
if test "${SHARED_BUILD}" = "0" ; then
# static