From 69963d39ab7d7f201b4597ed7a24cf438e0a34bf Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sun, 19 Mar 2017 07:33:39 -0400 Subject: [PATCH] We don't support 32-bit builds with the Microsoft toolchain --- configure.host | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/configure.host b/configure.host index 36ffbb8..4062a48 100644 --- a/configure.host +++ b/configure.host @@ -64,8 +64,8 @@ case "${host}" in TARGET=X86_FREEBSD; TARGETDIR=x86 ;; - i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2* | i?86-*-interix* \ - | x86_64-*-cygwin* | x86_64-*-mingw* | x86_64-*-winnt* ) + i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2* | i?86-*-interix* \ + | x86_64-*-cygwin* | x86_64-*-mingw* | x86_64-*-win* ) TARGETDIR=x86 if test $ac_cv_sizeof_size_t = 4; then TARGET=X86_WIN32 @@ -73,7 +73,13 @@ case "${host}" in TARGET=X86_WIN64 fi if test "${ax_cv_c_compiler_vendor}" = "microsoft"; then - MSVC=1 + MSVC=1 + if test $ac_cv_sizeof_size_t = 4; then + # libffi does not support microsoft tools for 32-bit windows + # hosts. Try porting src/x86/sysv.S to intel assembly + # format. + UNSUPPORTED=1 + fi fi # All mingw/cygwin/win32 builds require -no-undefined for sharedlib. # We must also check with_cross_host to decide if this is a native