• 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: -arch ppc works on Xcode 3.x, but not on 2.5.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -arch ppc works on Xcode 3.x, but not on 2.5.


  • Subject: Re: -arch ppc works on Xcode 3.x, but not on 2.5.
  • From: Jeff Johnson <email@hidden>
  • Date: Tue, 20 Jan 2009 19:48:37 -0600

Dave,

I've run into this problem before, and I failed to discover the magical incantation, unfortunately. My lame but effective workaround was to compile the library on a Tiger machine.

-Jeff


On Jan 20, 2009, at 7:20 PM, David Springer wrote:

Well, my experiments with -syslibroot failed. I compile the external libs on a 10.5/Xc3.1 system with these switches:

g++-4.0 -pipe -c -arch i386 -arch ppc -isysroot /Developer/SDKs/ MacOSX10.4u.sdk -mmacosx-version-min=10.4 -Wall -Wno-non-virtual- dtor -fno-strict-aliasing -Os -fno-default-inline -fno-exceptions - o blah.o blah.cpp

and yet, I get the ppc7400 arch in my final lib. These libs are built with makefiles, not Xcode, so I guess I am missing some magical incantation that causes the "real" 10.4 SDK to be used during compile/link? Searching the archives isn't helping a great deal...

Any advice?

Thanks!
- Dave.S


_______________________________________________ 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: 
 >-arch ppc works on Xcode 3.x, but not on 2.5. (From: David Springer <email@hidden>)
 >Re: -arch ppc works on Xcode 3.x, but not on 2.5. (From: Jeff Johnson <email@hidden>)
 >Re: -arch ppc works on Xcode 3.x, but not on 2.5. (From: David Springer <email@hidden>)
 >Re: -arch ppc works on Xcode 3.x, but not on 2.5. (From: David Springer <email@hidden>)

  • Prev by Date: Re: -arch ppc works on Xcode 3.x, but not on 2.5.
  • Next by Date: Re: Cannot save a file after comparing it with repository
  • Previous by thread: Re: -arch ppc works on Xcode 3.x, but not on 2.5.
  • Next by thread: Re: -arch ppc works on Xcode 3.x, but not on 2.5.
  • Index(es):
    • Date
    • Thread