0

Possible Duplicate:
Static linking vs dynamic linking

Hi ,

please become free me in this confusion

1 ) what is the *static and dynamic linking ? * and static and dynamic library ?

2) is there any kind of interaction these two things ?

3) static library linking as static and dynamic library linking dynamically -- Rate ?

it may good the answer based on Objective-c

Community
  • 1
  • 1
jaleel
  • 1,169
  • 8
  • 22
  • 46
  • There are LOTS of good answers to this on stack overflow. Please search for static, dynamic, linking. – Alex Brown Nov 23 '10 at 10:28
  • 4
    no upvotes, no accepted. cmon dude you've been a member long enought to figure out how to vote.... – Mitch Wheat Nov 23 '10 at 10:32
  • I've heard rumors that Objective-C doesn't always play nicely with static linking, given its dynamic nature, but it's not a language I personally use (yet), so I can't actually corroborate that. Regardless, there are probably few relevant differences between Objective-C and the other C-based languages when it comes to static and dynamic linking. If you understand it in C, you'll have a sufficient grasp of the concept in Objective-C. – Cody Gray - on strike Nov 23 '10 at 10:37

1 Answers1

0

Static linking adds libraries to your executable at compile time. Dynamic linking adds them at run time. More info: http://en.wikipedia.org/wiki/Library_(computing)#Types

robert
  • 33,242
  • 8
  • 53
  • 74