Re: Weak link
Re: Weak link
- Subject: Re: Weak link
- From: Laurence Harris <email@hidden>
- Date: Thu, 25 Oct 2007 00:58:36 -0400
On Oct 24, 2007, at 3:42 PM, Chen Wang wrote:
Which SDK version are you compiling against?
Hi Greg, the project is built against to MacOSX10.2.8.sdk.
May I ask why? Mac OS X 10.5 will be out in less than two days. Mac
OS X 10.4 has been out longer than normal due to the delay in
releasing Leopard. At this point I believe the vast majority of
people using Mac OS X are using 10.3 or later, and the number using
10.2 will only decline in the future. By the time you have a product
to release you'll be supporting four major releases of Mac OS X, and
the farther back you go the more work is involved in developing
multiple code paths and testing your entire application on every
version of the OS you support. You may even have to work around bugs
in 10.2 that have been fixed in 10.3 or later.
I don't know your market or your product, but unless you know you
have a significant market among 10.2 users (and some people do) I
wouldn't even think about supporting 10.2 this late in the game. I'd
use the time I saved to make a better product for the customers who
are using 10.4 and 10.5 instead.
Larry
I've also
tried with 10.4u.sdk (for project and target), and keep
MACOSX_DEPLOYMENT_TARGET=10.2, but I still get "Undefined symbols"
link
error in XCode. I think I just missed some basic issues.
extern EventTargetRef GetEventMonitorTarget( void )
__attribute__((weak_import)); ...
if ( GetEventMonitorTarget != NULL )
{
EventTargetRef refFoo = GetEventMonitorTarget( ); }
_______________________________________________
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