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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to