ryanwoodsmall / osxwinebuilder

Automatically exported from code.google.com/p/osxwinebuilder
GNU Lesser General Public License v2.1
1 stars 1 forks source link

Build on Lion with Xcode 4.3 #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Building on Lion 10.7 and Xcode 4.3 requires two things:

* You need to have a GNU gcc (Xcode only comes with the LLVM gcc by default)
* ONLY wine itself has to be built with this gcc, the rest must be built with 
default Apple LLVM

How to get the GNU gcc:
* Go to Xcode > Prefeferences > Downloads
* check Xcode Commandline Tools and install 

In the attached modified version of the osxwinebuilder.sh script I added some 
functionality to 
* detect if the gcc is the LLVM one
* and attempt to switch to the GNU one for wine

One extra change I had to make to the SDL part: I had to add   --disable-nasm 
--disable-assembly to the configure settings for it to build for me.

-Martin

Original issue reported on code.google.com by msper...@gmail.com on 31 May 2012 at 10:33

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the pointers! New revs committed this week add SDL 1.2.15 which 
works on Lion. The build script also checks for clang/llvm and installs a 
patched GCC C/C++ compiler set which is then used to compile the rest of the 
project. Give it a shot and let me reopen this issue if you have any problems. 
-r

Original comment by rwoodsm...@gmail.com on 2 Jun 2012 at 6:15