bianyi 32bit wine

来源:互联网 发布:新概念背诵200遍 知乎 编辑:程序博客网 时间:2024/05/20 08:26

Build with minimal fuss

In order to build/run Wine, you will need to have the following prerequisites installed on your Mac:

  • X11/XQuartz - If you are running Mac OS X 10.5 (Leopard) or newer, you can install X11 from your Mac OS X installation DVD by running the optional installs package. If you are running a version prior to Mac OS X 10.5, you will need to download and install XQuartz.

  • Xcode - Xcode is included on your Mac OS X installation DVD in the 'Optional Installs' folder. Either install the version that shipped with your operating system's DVD, or download the latest version from the Apple web site. If you do not wish to install the full Xcode suite, locate and install at least the GCC, CoreAudioSDK and X11SDK packages... (Notes for building with GCC 4.5 on Mac can be foundhere)

Download the Wine source. You need not install git (not part of Xcode) if you use a source tarball fromibiblio.org.{i} However, we do recommendusing git with Wine as you will be asked to performRegressionTesting if you have an application that used to work and stopped working in a newer version.

You now have everything you need to build the Wine source code. Like thousands of other open source software packages, you should now run ./configure and make to build the code.

For native X11:

./configure --verbose --x-includes=/usr/X11/include --x-libraries=/usr/X11/libmake

For XQuartz:

./configure --verbose --x-includes=/opt/X11/include --x-libraries=/opt/X11/libmake

$ apt-get install build-essential module-assistant  

$ apt-get install gcc-multilib g++-multilib  

然后创建一个wine链接,否则很多程序不能用, 比如winecfg。

sudo ln -s /usr/local/bin/wine64 /usr/local/bin/wine

0 0
原创粉丝点击