tce-load -i compiletc Xorg-7.7-3d-dev gst-plugins-base-dev pulseaudio-dev libxml2-dev libxslt-dev lcms2-dev cups-dev gnutls-dev libpcap-dev libsane-dev libv4l2-dev libgphoto2 mpg123-dev openal-dev libpng-dev glu-dev cd wine-2.0.3 CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --enable-win64 --libdir=/usr/local/lib [checking whether gcc -mtune=generic -Os -pipe -m32 works... no configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [46m 32.01s] sudo make install configure: OpenCL 64-bit development files not found, OpenCL won't be supported. configure: libhal 64-bit development files not found, no legacy dynamic device support. configure: libgphoto2 64-bit development files not found, digital cameras won't be supported. configure: libgphoto2_port 64-bit development files not found, digital cameras won't be auto-detected. configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported. configure: libcapi20 64-bit development files not found, ISDN won't be supported. configure: libgsm 64-bit development files not found, gsm 06.10 codec won't be supported. configure: libldap (OpenLDAP) 64-bit development files not found, LDAP won't be supported. When Windows began targeting 64-bit architectures, Microsoft decided to include a compatibility layer to support their massive universe of 32-bit applications. This kind of subcomponent, nicknamed WoW64 (for Windows on Windows 64-bit), is also implemented in Wine to solve the exact same problem. 64-bit Wine built without 32-bit support will not be able to run ANY 32-bit applications, which most Windows binaries are. Even many 64-bit programs still include 32-bit components! 64-bit Wine works on a few OSes already, but if you want to help port Wine to AMD64 on another, we'd love to have your help. The good news is that once you have the dependencies in place to compile both 32 and 64-bit Wine, you've already done the hard part. If you have all your dependencies through multi-lib or (on some happy day in the future) you've co-installed all the dependencies through multi-arch, you only need to follow two simple steps: Compile the 64-bit version of Wine first with the --enable-win64 configure flag, in a separate build directory of courseĀ ;) When you build the 32-bit version next (again in a fresh build directory), point configure to the 64-bit build directory by using --with-wine64= and the relative path