• 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 fat Darwin gcc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building fat Darwin gcc


  • Subject: Re: Building fat Darwin gcc
  • From: Eric Albert <email@hidden>
  • Date: Sat, 12 Nov 2005 12:44:20 -0800

On Nov 11, 2005, at 11:18 PM, Bill Northcott wrote:

I notice that the gcc-4.0 binaries supplied with Xcode 2.2 are fat (i386,ppc)

However, if I try to build Apple's gcc from sources on a G5 I only get ppc binaries.

Does anyone know the secret to building fat binaries of gcc?

Presumably we need HOSTS='ppc i386' added somewhere and also some option like '--with-sysroot=/Developer/SDKs/MacOSX10.4u.sdk' somewhere else. Are there clues or even instructions anywhere?

gcc doesn't use SDKs. We have fully universal versions of the OS internally, and with those gcc can just build with the regular system libraries. You can get a fully universal version of the OS as part of the Developer Transition Kit.


Of course, you can build a version of gcc which targets i386 without having universal system libraries. It'd be built for PPC, though.

-Eric

_______________________________________________
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: 
 >Building fat Darwin gcc (From: Bill Northcott <email@hidden>)

  • Prev by Date: Re: 2.1->2.2 created link error: std::__ioinit
  • Next by Date: Re: Private frameworks
  • Previous by thread: Re: Building fat Darwin gcc
  • Next by thread: Lipo & PackageMaker Error ?
  • Index(es):
    • Date
    • Thread