[Wine] How to disable win-16 when compile WINE for Mac OS X

ryan woodsmall rwoodsmall at mac.com
Fri Sep 18 15:13:34 CDT 2009


This is code to build the Mac OS X dynamic linker via an Xcode project:

     xcodebuild install -sdk  -target "dyld"
     "SRCROOT=/Volumes/Builds/Build8C46/BuildRoot/SourceCache/dyld/ 
dyld-43.1"

It is necessary for QEMU to use i386 libraries on PPC processors in  
'qemu-darwin-user' mode, at least on 10.4; on 10.5, I'm not sure if  
this is necessary as the dynlinker is universal.  Regardless, this has  
nothing to do with Wine.  Ask the Darwine people, or the QEMU folks;  
you'll likely not get an answer there, either.

Frankly, you're barking up the wrong tree.  If you don't know what  
that error is, and/or you're not comfortable building Darwin projects  
from source, your might want to focus your efforts elsewhere.

I have access to Mac OS X 10.4/10.5 PPC machines, but I have neither  
the time nor the patience to make this work.  The last PPC Mac was  
discontinued 3+ years ago, so the audience for a half-implemented,  
slow, buggy userspace binary simu-/emulator running a reimplementation  
of the Windows API is going to be... small.  That's the only nice way  
to put it.

If you have access to Intel Macs, it may be better to focus there.  If  
you're doing this for fun, you're on your own - the Darwine code, as  
you've been told repeatedly, is unmaintained.

   ryan woodsmall
     rwoodsmall at mac.com


"Be well, do good work, and keep in touch." - Garrison Keillor




On Sep 18, 2009, at 12:59 PM, Bazilisk wrote:

> I have error when make:
> sudo darwinbuild dyld
> (http://wiki.winehq.org/MacOSX/QemuWork)
>
> xcodebuild: error: SDK "-target" cannot be located.
>
> How I can fix it?
>
>
> All log (sorry if too long)
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++++++
> BUILDING dyld-43.1~3 on Fri Sep 18 21:52:15 MSD 2009
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++++++
> Build configuration:
>    Build host:           Macintosh.local
>    Build tool:           xcodebuild
>    Build action:         install
>    Build number:         8C46
>    Host kernel version:  Darwin Kernel Version 9.8.0: Wed Jul 15  
> 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC
>    cc version:           gcc version 4.0.1 (Apple Inc. build 5493)
>    cctools version:      ools-698.1~1, GNU assembler version 1.38
>    xcode version:        Xcode 3.1.4
> Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0
> BuildVersion: 9M2809
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++++++
> Build parameters:
> SRCROOT: /Volumes/Builds/Build8C46/BuildRoot/SourceCache/dyld/ 
> dyld-43.1
> OBJROOT: /Volumes/Builds/Build8C46/BuildRoot/private/var/tmp/dyld/ 
> dyld-43.1.obj
> SYMROOT: /Volumes/Builds/Build8C46/BuildRoot/private/var/tmp/dyld/ 
> dyld-43.1.sym
> DSTROOT: /Volumes/Builds/Build8C46/BuildRoot/private/var/tmp/dyld/ 
> dyld-43.1.root
> RC_ProjectName: dyld
> RC_ProjectSourceVersion: 43.1
> RC_ProjectNameAndSourceVersion: dyld-43.1
> RC_ProjectBuildVersion: 3
> INSTALLED_PRODUCT_ASIDES: YES
> MACOSX_DEPLOYMENT_TARGET: 10.4
> NEXT_ROOT:
> RC_ARCHS: ppc ppc64 i386
> RC_CFLAGS: -pipe -no-cpp-precomp -arch ppc -arch ppc64 -arch i386
> RC_JASPER: YES
> RC_NONARCH_CFLAGS: -pipe -no-cpp-precomp
> RC_OS: macos
> RC_PRIVATE: /private
> RC_RELEASE: Tiger
> RC_USE_GCC35_FOR_PPC64: YES
> RC_XBS: YES
> RC_i386: YES
> RC_ppc: YES
> RC_ppc64: YES
> SEPARATE_STRIP: YES
> UNAME_RELEASE: 8.0
> UNAME_SYSNAME: Darwin
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++++++
> Environment variables:
> CHROOTED=NO
> DARWINBUILD_BUILD=8C46
> DARWINXREF_DB_FILE=/Volumes/Builds/Build8C46/.build/xref.db
> DARWIN_BUILDROOT=/Volumes/Builds/Build8C46
> DSTROOT=/Volumes/Builds/Build8C46/BuildRoot/private/var/tmp/dyld/ 
> dyld-43.1.root
> GROUP=wheel
> HOME=/var/root
> INSTALLED_PRODUCT_ASIDES=YES
> LOGNAME=root
> MACOSX_DEPLOYMENT_TARGET=10.4
> NEXT_ROOT=
> OBJROOT=/Volumes/Builds/Build8C46/BuildRoot/private/var/tmp/dyld/ 
> dyld-43.1.obj
> PATH=/bin:/sbin:/usr/bin:/usr/sbin/:/usr/local/bin:/usr/local/sbin
> RC_ARCHS=ppc ppc64 i386
> RC_CFLAGS=-pipe -no-cpp-precomp -arch ppc -arch ppc64 -arch i386
> RC_JASPER=YES
> RC_NONARCH_CFLAGS=-pipe -no-cpp-precomp
> RC_OS=macos
> RC_PRIVATE=/private
> RC_ProjectBuildVersion=3
> RC_ProjectName=dyld
> RC_ProjectNameAndSourceVersion=dyld-43.1
> RC_ProjectSourceVersion=43.1
> RC_RELEASE=Tiger
> RC_USE_GCC35_FOR_PPC64=YES
> RC_XBS=YES
> RC_i386=YES
> RC_ppc64=YES
> RC_ppc=YES
> SEPARATE_STRIP=YES
> SHELL=/bin/sh
> SRCROOT=/Volumes/Builds/Build8C46/BuildRoot/SourceCache/dyld/dyld-43.1
> SYMROOT=/Volumes/Builds/Build8C46/BuildRoot/private/var/tmp/dyld/ 
> dyld-43.1.sym
> UNAME_RELEASE=8.0
> UNAME_SYSNAME=Darwin
> USER=root
> _=/usr/bin/printenv
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++++++
> Installed Roots:
> CF                   -> db41f1ab2c8105ac09aa91424768e00a11f39a7a
> CarbonHeaders.hdrs   -> 93632322447548a2caac77de52fa5515a0204c01
> CoreOSMakefiles      -> 1350746aa28c6ef07f0efe8f554e1748fbfdf958
> DirectoryService     -> a33a5669797815ae7df6d81ad7bf6fb397f61dd0
> ICU                  -> 5fc5a52f209a9194a05d19c2b9f245d83b75faf8
> IOKitUser            -> 1e4ead012704c8a525c57c611062e0b568a81b39
> Libc                 -> cfecfd67544d645a1234e7b71463fa951633db46
> Libc_headers.hdrs    -> 2b2c02da762384afba9484594d993d1cf1b96fea
> Libm                 -> a6e21ffba938be3ff7cbb71964683c23dd0c571f
> Libmx                -> 71d38330d0895e1b092f188aa35b92cc9d5a0bf6
> Libnotify.hdrs       -> 59a0961f60686af4719eec4761d4b000e82b1fc8
> Libsystem            -> 8bd2c9408d92a280a353f002442001d5796ca4d7
> OpenSSL              -> 3a59f4083a3d4a14c78065b97713ac81daf4491b
> Security             -> 6bd55a4272c766d0d14094a93d083fc84d80966b
> adv_cmds             -> b926bd39b96e9844a681571795a0246a242b3898
> architecture.hdrs    -> 79ce051f87c277f9e10934acc7947a85dc3ef195
> awk                  -> 729aee35aedb89fefb9888e24ceba0f120332d7e
> bash                 -> 7cd8b8a02112e7464dd19197952883ed55fcc833
> bsm                  -> 202b1b62e85f868ee5af8dd0f75e407869e4e2e6
> cctools              -> de5fa6197e2219e01cabd0ebeb81d28307395b54
> cctools_ofiles.hdrs  -> 38457b521b6a98f66cacce116237f7eda954b7e2
> configd              -> 77f0b5834ce412f5c2e3543783587d2482a186a8
> dyld                 -> c0152f3e2f90414fdf884b7e6abab0a18d3a5acc
> file_cmds            -> c315ff919e144c3c0a6b6dcab27ddab963f862c5
> files                -> 430729679498b2e929193b2186f21c8dd6685d76
> gcc                  -> 716a431548f0594754895e9e9b03c3bba8de3ac2
> gcc_os               -> 13a3a65cfef230944a81065b4cc2b836f1191015
> gcc_os_35            -> 01a6806ca731d2990e0efe85d4e8dc6bfca07ab3
> ld64                 -> 6600d928f03d46a653a3d565771459f348b5c413
> libedit              -> 8de0cfa06994ac04fe3e6a116e0012b87af5f66b
> libiconv             -> 8841b8684979b72c207a7f28e7a89130577d00e7
> ncurses              -> b2504667eb0fe184182d64daf5f0c77876bc2f42
> netinfo              -> 9a4986cf8c1f30e724f1b8b0ad4f2c348cbd26e8
> objc4                -> 2854b6f582e66a66302dabf61d5b7c7aa8953e38
> pam                  -> ab66376a48b52e7009f7dbc853649ea10094b3c1
> passwordserver_sasl  -> 206d59dfbb1daaf3b1a6a9c69cecab983fb4228f
> perl                 -> 0c97058ad43ede7af4975e1b27df7be7fa058359
> system_cmds          -> 5d2e40b16237a9d5525fcc287f3749c3d3fc70b5
>                        xcodebuild
> xnu.hdrs             -> fe02115c11eb0a58cdb315dff60e300e15afc2f8
> zlib                 -> 447c961e74f145a75de72e0b0312e53c818fb93f
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++++++
> xcodebuild install -sdk  -target "dyld" "SRCROOT=/Volumes/Builds/ 
> Build8C46/BuildRoot/SourceCache/dyld/dyld-43.1" "OBJROOT=/Volumes/ 
> Builds/Build8C46/BuildRoot/private/var/tmp/dyld/dyld-43.1.obj"  
> "SYMROOT=/Volumes/Builds/Build8C46/BuildRoot/private/var/tmp/dyld/ 
> dyld-43.1.sym" "DSTROOT=/Volumes/Builds/Build8C46/BuildRoot/private/ 
> var/tmp/dyld/dyld-43.1.root" "RC_ProjectName=dyld"  
> "RC_ProjectSourceVersion=43.1"  
> "RC_ProjectNameAndSourceVersion=dyld-43.1"  
> "RC_ProjectBuildVersion=3" "INSTALLED_PRODUCT_ASIDES=YES"  
> "MACOSX_DEPLOYMENT_TARGET=10.4" "NEXT_ROOT=" "RC_ARCHS=ppc ppc64  
> i386" "RC_CFLAGS=-pipe -no-cpp-precomp -arch ppc -arch ppc64 -arch  
> i386" "RC_JASPER=YES" "RC_NONARCH_CFLAGS=-pipe -no-cpp-precomp"  
> "RC_OS=macos" "RC_PRIVATE=/private" "RC_RELEASE=Tiger"  
> "RC_USE_GCC35_FOR_PPC64=YES" "RC_XBS=YES" "RC_i386=YES" "RC_ppc=YES"  
> "RC_ppc64=YES" "SEPARATE_STRIP=YES" "UNAME_RELEASE=8.0"  
> "UNAME_SYSNAME=Darwin" < /dev/null
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++++++
>
> Build log begins here:
>
> xcodebuild: error: SDK "-target" cannot be located.
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++++++
> BUILD TIME: 0h 0m 2s
> EXIT STATUS: 1
>
>
>
>
>




More information about the wine-users mailing list