• 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: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?


  • Subject: Re: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 27 Jun 2008 23:17:47 -0700


On Jun 27, 2008, at 10:31 PM, JongAm Park wrote:

I tried compiling the postgreSQL library. As I desribed in my previous post, on Intel Mac, there are some problems like "_fnctl $UNIX2003 can't be found.". I tried investigating the library file using the nm. But they are reference like _fnctl without $UNIX2003.

So, I tried compiling universal library, especially the i386 part, on my iMac 17" PPC (Sunflower model.)
I found some interesting things.
An intel binary built on an Intel Mac is 420KB, while the same intel binary built on a PPC Mac is 392KB.


The build command is the same on both.

export CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -mmacosx-version-min=10.4"
export LDFLAGS="-arch i386"
sudo ./configure --prefix=/opt/local --disable-dependency-tracking.


I couldn't provide it with -arch ppc -arch i386 at the same time. Then erros will be thrown while compilation.
So, I tried buiding the separately and will combine them using lipo.


Is there any difference between the same 10.4u SDK? (Actually I think I heard it before from somewhere... )

The SDK is identical between PPC and Intel machines. Without analyzing what the 28Kb difference actually entails between the two binaries it would be hard to say what's going on. It's more likely that the difference is in debug symbols rather than generated code (try comparing stripped binaries rather than unstripped).


Chris
_______________________________________________
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: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
      • From: JongAm Park <email@hidden>
References: 
 >[Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different? (From: JongAm Park <email@hidden>)

  • Prev by Date: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
  • Next by Date: Re: Is it possible to set breakpoints in asm sources?
  • Previous by thread: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
  • Next by thread: Re: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
  • Index(es):
    • Date
    • Thread