• 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 a Universal Binary for 10.2.8 and Later
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building a Universal Binary for 10.2.8 and Later


  • Subject: Re: Building a Universal Binary for 10.2.8 and Later
  • From: David Alger <email@hidden>
  • Date: Tue, 20 Jun 2006 23:47:13 -0500

I discovered I have a framework that was building with GCC 4.0. Changing that allows it to launch.

Thanks for noting the orphaned settings. I read the docs and then did it, so I don't know how I could have done almost the same error twice.

David

On Jun 20, 2006, at 11:08 PM, Syd Polk wrote:


On Jun 20, 2006, at 10:50 PM, David Alger wrote:

Greetings,

I am trying to build a universal binary that runs on 10.2.8 and up. My app runs on 10.3.9 and 10.4.6 (Intel, PowerPC) just fine, but when I try to launch it on 10.2.8 it won't launch, and my console tells me "can't open library: /usr/lib/libstdc++.6.dylib."


Something is being built with gcc 4.0 in your build.

I have these set on my target:

ARCHS = i386 ppc
GGC_VERSION_ppc = 3.3
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.2
SDK_PATH_i386 = /Developer/SDKs/MacOSX10.4u.sdk
SDK_PATH_ppc = /Developer/SDKs/MacOSX10.2.8.sdk


SDK_PATH_* is meaningless. These should be SDKROOT_ppc and SDKROOT_i386.


And these are set on the project:

SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk

This is setting both architectures to 10.4u.sdk, which is not what you want.


GCC_VERSION_ppc = 3.3
SDK_ROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
SDK_ROOT_ppc = /Developer/SDKs/MacOSX10.2.8.sdk

Is there something I should be setting, or is there something I'm not setting right?


Same thing here. You probably want to set these either the project or the target. My personal preference is to set this kind of stuff in the target, as you can have multiple things you need to build, each separately.


Any and all help will be greatly appreciated.

TIA,
David Alger

Family Friendly Software, LLC
http://www.familyfriendlysoftware.com



_______________________________________________
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
References: 
 >Building a Universal Binary for 10.2.8 and Later (From: David Alger <email@hidden>)
 >Re: Building a Universal Binary for 10.2.8 and Later (From: Syd Polk <email@hidden>)

  • Prev by Date: Re: Building a Universal Binary for 10.2.8 and Later
  • Next by Date: Re: Making GCC less sensitive about duplicate typedefs?
  • Previous by thread: Re: Building a Universal Binary for 10.2.8 and Later
  • Next by thread: Can dump of environment be disabled on script phases?
  • Index(es):
    • Date
    • Thread