• 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: Jonas Maebe <email@hidden>
  • Date: Wed, 21 Jan 2009 10:33:20 +0100


On 21 Jan 2009, at 02:20, 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...

You can try adding the -v parameter, then gcc will print out the parameters it passes to the assembler and linker.



Jonas _______________________________________________ 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: Modify build settings and targets without using XCode UI
  • 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: [SOLVED] Re: How to link with alternate Foundation.framework
  • Index(es):
    • Date
    • Thread