Re: error on <execinfo.h>
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