lazy bound problem
lazy bound problem
- Subject: lazy bound problem
- From: Donnie Lee <email@hidden>
- Date: Thu, 3 Sep 2009 18:09:14 +0400
Hello!
I build a bundle's code which I build with "-undefined dynamic_lookup" option:
@interface test
@end
@implementation test (testCategory)
- (void)test
{
NSLog(@"Hello");
}
@end
...and I call this test method in bundle's code.
`nm -mg` for bundle executable for i386:
...
(undefined [lazy bound]) external .objc_class_name_test (dynamically looked up)
...
When I build for x86_64 I got:
(undefined) external _OBJC_CLASS_$_test (dynamically looked up)
The question: Why it is not lazy anymore? How can I build it with
'lazy bound' for x86_64, what options should I pass to linker? I use
default Xcode 10.6 configuration. Thanks id advance.
Regards,
Donnie
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden