[Bug 14920] Win16 programs crash with Wine built with newer XCode on Mac OS X

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 26 15:54:36 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=14920





--- Comment #38 from Charles Davis <cdavis at mines.edu>  2009-07-26 15:54:28 ---
Glad to hear my patch works for some people.

So, to summarize, this is (at least in part) a problem with the new Mac OS X
linker, ld64. To fix the problem on your machine:

1. Go to www.opensource.apple.com. Click on your version of Mac OS X, and
download the ld64 source tarball.
2. Untar the tarball.
3. Download my patch to the ld64 project directory that was in the tarball.
4. From that same directory, issue these commands to build and install a fixed
version of the linker:
 $ patch -p0 <ld64-16b-fix.patch              # Applies my fix
 $ xcodebuild                                 # Builds ld64
 $ xcodebuild install -configuration Release  # Installs ld64 to
/tmp/ld64.dst/usr/bin
 $ sudo cp -R /tmp/ld64.dst /                 # Installs ld64 to /usr/bin
5. Build and install Wine from source as usual.

You shouldn't have to pass the --disable-win16 switch to the configure script
anymore with my ld64 patch. Avoid the MacPorts version if you want this
support: it passes this option.

Perhaps I should add this to the Mac OS X FAQ...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list