--- qemu.ORIG/configure 2007-12-09 00:10:03.000000000 -0500 +++ qemu/configure 2007-12-11 12:36:11.632539000 -0500 @@ -312,6 +312,13 @@ *) echo "undefined SPARC architecture. Exiting";exit 1;; esac ;; + --force-32bit) + if test "$cpu" != "i386" ; then + echo "Forcing 32-bit mode compile, changing HOST-CPU from $cpu to i386" + cpu="i386" + OS_CFLAGS="${OS_CFLAGS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + fi + ;; --enable-werror) werror="yes" ;; --disable-werror) werror="no" @@ -417,6 +424,7 @@ echo " --fmod-inc path to FMOD includes" echo " --enable-uname-release=R Return R for uname -r in usermode emulation" echo " --sparc_cpu=V Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9" +echo " --force-32bit Build 32-bit qemu on Solaris x86-64" echo "" echo "NOTE: The object files are built at the place where configure is launched" exit 1