• 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: error on <execinfo.h>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error on <execinfo.h>


  • Subject: Re: error on <execinfo.h>
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 28 Jan 2009 07:18:42 -0600

On Jan 28, 2009, at 6:57 AM, Arnab Ganguly wrote:

My OS version is 10.5.5 and Xcode is 3.1 and SDK is 10.4.So what would be work around? I need to call the backtrace and backtrace_symbols functions in my code.

Are you compiling against the 10.4 SDK on purpose? If so, why? A good reason is that you plan to deploy your program on Tiger and don't want to use 10.5-or-later features. However, you say you _do_ want to use 10.5-or-later features.


If you don't need to deploy on Tiger or earlier, then you should just set your SDK and deployment target to 10.5.

If you do need to deploy on Tiger or earlier, then you're doing what Apple calls cross-development:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/


This is a subject which takes some care. It also will not magically allow you to use backtrace and backtrace_symbols on Tiger. That API is simply not available on Tiger. The best you can achieve is the ability to run your program on Tiger, while avoiding the use of post- Tiger features when running on Tiger.

Regards,
Ken

_______________________________________________
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: error on <execinfo.h>
      • From: Arnab Ganguly <email@hidden>
References: 
 >error on <execinfo.h> (From: Arnab Ganguly <email@hidden>)
 >Re: error on <execinfo.h> (From: Ken Thomases <email@hidden>)
 >Re: error on <execinfo.h> (From: Arnab Ganguly <email@hidden>)

  • Prev by Date: Re: error on <execinfo.h>
  • Next by Date: Re: error on <execinfo.h>
  • Previous by thread: Re: error on <execinfo.h>
  • Next by thread: Re: error on <execinfo.h>
  • Index(es):
    • Date
    • Thread