• 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
lazy bound problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Image Thresholding
  • Next by Date: Context menus into services
  • Previous by thread: Re: bad behavior from unlockFocus on 10.6
  • Next by thread: Context menus into services
  • Index(es):
    • Date
    • Thread