• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Build mysteriously excludes G3s
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build mysteriously excludes G3s


  • Subject: Re: Build mysteriously excludes G3s
  • From: James Bucanek <email@hidden>
  • Date: Fri, 19 Mar 2010 11:00:12 -0700

Sean McBride <mailto:email@hidden> wrote (Friday, March 19, 2010 7:51 AM -0400):

On Thu, 18 Mar 2010 16:35:19 -0700, James Bucanek said:

I got a call the other day (does anyone still use the
telephone?) from a customer who can't run my application. It
turns out they have a G3 running Tiger. I investigated and found
that the latest release of my application's not-so-universal fat
binary only contained code for i386 and ppc7500 (i.e. G4/G5).

You sure the deployment target is 10.4?

Absolutely. From the build transcript:

...
/Developer/usr/bin/gcc-4.2 -x objective-c -arch ppc -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -faltivec -fasm-blocks -Os -mdynamic-no-pic -Werror -Wmissing-prototypes -Wreturn-type -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wunknown-pragmas -isysroot /Developer/SDKs/MacOSX10.6.sdk -mtune=G5 -fvisibility=hidden -Wno-deprecated-declarations -mmacosx-version-min=10.4 -gdwarf-2 ...


SDK is MacOSX10.6.sdk
macosx-version-min is 10.4
Arch is ppc
PPC tuning is G5

The application launches and runs just fine on the MacMini (G4) and iMac (G5) I keep for testing. Both are running 10.4.11.

Your comment did prompt me to compare the compiler flags being passed to the two Cocoa applications. The one thing I did notice was -faltivec was being passed to one and not the other. This setting was left over from a failed vector processing experiment and never got turned off. Unfortunately, turning it off makes no difference. I also can't figure out why it gets passed to the compiles for one target but not the other, since this flag was set at the project level. Hmmm.

Anyway, I built the entire project again and then compared the flags passed to the compiler for both applications, and the flags are identical.



_______________________________________________
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


References: 
 >Re: Build mysteriously excludes G3s (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Build mysteriously excludes G3s
  • Next by Date: Re: Build mysteriously excludes G3s
  • Previous by thread: Re: Build mysteriously excludes G3s
  • Next by thread: Re: Build mysteriously excludes G3s
  • Index(es):
    • Date
    • Thread