summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure3
-rw-r--r--win/tcl.m43
2 files changed, 6 insertions, 0 deletions
diff --git a/win/configure b/win/configure
index 2391b54..eeb01c5 100755
--- a/win/configure
+++ b/win/configure
@@ -3417,6 +3417,9 @@ echo "$as_me: error: ${CC} does not support the -shared option.
#LDFLAGS_WINDOW="-mwindows -e _WinMain@16 ${extra_ldflags}"
LDFLAGS_CONSOLE="-mconsole ${extra_ldflags}"
LDFLAGS_WINDOW="-mwindows ${extra_ldflags}"
+
+ # gcc under Windows supports only 32bit builds
+ MACHINE="X86"
else
if test "${SHARED_BUILD}" = "0" ; then
# static
diff --git a/win/tcl.m4 b/win/tcl.m4
index e0598bc..b37c626 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -552,6 +552,9 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
#LDFLAGS_WINDOW="-mwindows -e _WinMain@16 ${extra_ldflags}"
LDFLAGS_CONSOLE="-mconsole ${extra_ldflags}"
LDFLAGS_WINDOW="-mwindows ${extra_ldflags}"
+
+ # gcc under Windows supports only 32bit builds
+ MACHINE="X86"
else
if test "${SHARED_BUILD}" = "0" ; then
# static