diff options
author | nijtmans <nijtmans> | 2010-12-13 21:23:59 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-12-13 21:23:59 (GMT) |
commit | 716be31fd7cb8acae5bba8b10425b904f8ace0dc (patch) | |
tree | b2163166f4f1a1b642799c861fc05ecf29b4d279 /win/tcl.m4 | |
parent | 899c51483b58eceb78b4fc34ae8b0c6ff59d8db6 (diff) | |
download | tk-716be31fd7cb8acae5bba8b10425b904f8ace0dc.zip tk-716be31fd7cb8acae5bba8b10425b904f8ace0dc.tar.gz tk-716be31fd7cb8acae5bba8b10425b904f8ace0dc.tar.bz2 |
Cross-compile support for Win and UNIX (backported)
Diffstat (limited to 'win/tcl.m4')
-rw-r--r-- | win/tcl.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |