Re: Build mysteriously excludes G3s
Re: Build mysteriously excludes G3s
- Subject: Re: Build mysteriously excludes G3s
- From: James Bucanek <email@hidden>
- Date: Fri, 19 Mar 2010 10:54:16 -0700
Chris Ridd <mailto:email@hidden> wrote (Friday, March 19,
2010 12:26 AM -0000):
Are any unique libraries being linked to the odd binary? Maybe (ie this is a
WAG) the linker will only produce a binary for a G3 if all of the linked
libraries also contain G3 binaries.
I'd read this too. On the surface, it doesn't make any sense
(unless we're talking about static libraries) because none of
the library's code becomes part of the executable. And if said
library didn't have the right architecture at runtime, then that
would be a load-time error.
Nevertheless, I checked this out. The application that's
generating ppc7400 code is linked to:
Architectures in the fat file:
Carbon.framework/Versions/Current/Carbon are: x86_64 i386 ppc7400
Architectures in the fat file:
Cocoa.framework/Versions/Current/Cocoa are: x86_64 i386 ppc7400
Architectures in the fat file:
Security.framework/Versions/Current/Security are: x86_64 i386 ppc7400
Architectures in the fat file: /usr/lib/libz.1.2.3.dylib are:
x86_64 i386 ppc7400
Architectures in the fat file:
./Frameworks/Sparkle.framework/Versions/Current/Sparkle are: ppc i386
The application that produces ppc code is linked to:
Architectures in the fat file:
Cocoa.framework/Versions/Current/Cocoa are: x86_64 i386 ppc7400
Architectures in the fat file:
./Frameworks/Growl.framework/Versions/Current/Growl are: ppc i386
So clearly, the mere presence of a ppc7400 library doesn't cause
this, because all of the Snow Leopard frameworks are ppc7400.
The oddball is libz. I don't know if dylibs are treated
differently (that would seem odd). I'll try to lift a libz
library from an earlier OS, link to that, and see if it makes
any difference.
James
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden