• 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: Building Universal Binary on PPC--link error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Universal Binary on PPC--link error


  • Subject: Re: Building Universal Binary on PPC--link error
  • From: Syd Polk <email@hidden>
  • Date: Thu, 29 Mar 2007 11:28:42 -0500


On Mar 29, 2007, at 11:18 AM, Ben Bond-Lamberty wrote:

I have a command-line tool that I'd like to build, for the first time, as a
Universal Binary (i.e., it compiles fine as PPC). So, dutifully following
the Xcode Help instructions, I change the "Architectures" build setting to
PPC and Intel. And:


/usr/bin/ld: warning fat file:
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib does not contain
an architecture that matches the specified -arch flag: i386 (file ignored)

(I'm building on a PPC.) Googling hasn't produced much. Clearly
something's missing; possibly I didn't include everything I should have when
installing Xcode? Anyway any insight would be appreciated.


Thanks,
Ben


You need to use the 10.4u SDK. There is are a lot of postings to this list about how to do this and where to find more information about how do this. Your system on PowerPC is not universal, so you must use the cross-development packages.


You should search the list archives or use Google to find out more information. Grubbing around on developer.apple.com found this:

http://developer.apple.com/documentation/MacOSX/Conceptual/ universal_binary/index.html





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

Syd Polk email@hidden "Let the music be your light" - Dave Edwards, KUHF-FM, 1982


_______________________________________________ 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
  • Follow-Ups:
    • Re: Building Universal Binary on PPC--link error
      • From: Ben Bond-Lamberty <email@hidden>
References: 
 >Building Universal Binary on PPC--link error (From: Ben Bond-Lamberty <email@hidden>)

  • Prev by Date: Re: Building Universal Binary on PPC--link error
  • Next by Date: Re: Building Universal Binary on PPC--link error
  • Previous by thread: Re: Building Universal Binary on PPC--link error
  • Next by thread: Re: Building Universal Binary on PPC--link error
  • Index(es):
    • Date
    • Thread