• 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: Creating universal binary on PowerPC with 10.4.11?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating universal binary on PowerPC with 10.4.11?


  • Subject: Re: Creating universal binary on PowerPC with 10.4.11?
  • From: Andre-John Mas <email@hidden>
  • Date: Fri, 18 Jan 2008 01:09:28 -0500


On 18-Jan-08, at 00:36 , Andre-John Mas wrote:


On 17-Jan-08, at 22:34 , Terry Lambert wrote:

On Jan 17, 2008, at 6:34 PM, Andre-John Mas wrote:
Hi,

I recently updated a configure script for a project I am working on and thought that simply ensuring that the availability of the 10.4u SDK was enough to be able to build a universal binary. When I run this make file resulting from the configure script I get told that:

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

Is it not possible to build a universal binary on a PowerPC based system?

If it is using the system library instead of the SDK library, you have improperly specified your arguments. Most likely you have installed new tools on an old system which predates Intel support, and failed to use the appropriate argument to the "-syslibroot" directive to the linker.


CFLAGS="$CFLAGS -O -g -mmacosx-version-min=10.4 -isysroot $SDK - arch i386 -arch ppc"
LDFLAGS="$LDFLAGS -arch i386 -arch ppc"



Looks like my problem was that I did not specify -isysroot for the LDFLAGS. I also notice that the universal SDK supports only ppc, ppc64 and i386. Any specific support for 64-bit x86 looks like the 10.5 SDK is required?


Andre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Creating universal binary on PowerPC with 10.4.11? (From: Andre-John Mas <email@hidden>)
 >Re: Creating universal binary on PowerPC with 10.4.11? (From: Terry Lambert <email@hidden>)
 >Re: Creating universal binary on PowerPC with 10.4.11? (From: Andre-John Mas <email@hidden>)

  • Prev by Date: Re: How to eject a USB Hard drive
  • Next by Date: Re: How to eject a USB Hard drive
  • Previous by thread: Re: Creating universal binary on PowerPC with 10.4.11?
  • Next by thread: How to eject a USB Hard drive
  • Index(es):
    • Date
    • Thread