467,918 Members | 1,240 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,918 developers. It's quick & easy.

static linking & dynamic linking

what is the difference between static linking & dynamic linking,

what are the advantages of each?

How to perform static linking & Dynamic linking

by using gcc -o liniking will be done , but how can we control the type of linking

Hi any one please help me to clarify my doubt

regards

srikar
Sep 14 '06 #1
  • viewed: 5559
Share:
1 Reply
what is the difference between static linking & dynamic linking,

what are the advantages of each?

How to perform static linking & Dynamic linking

by using gcc -o liniking will be done , but how can we control the type of linking

Hi any one please help me to clarify my doubt

regards

srikar
hi srikar,
when u do Dynamic linking there are advantage..

static linking means there shold be a dependence..

dynamic linking has advantage than static..ex: if ur running multiple application all the application are using some comman src files..if u modified any of src files thoselibs are dynamically linked then u no need to compile ur application every time..those changes it will dynamically linked...u can't do linking with gcc -o...


Thanks,
Suresh
Sep 14 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Dibyendu Roy | last post: by
7 posts views Thread by BekTek | last post: by
6 posts views Thread by Andrew S. Giles | last post: by
5 posts views Thread by info | last post: by
1 post views Thread by wenqiang.zhou | last post: by
6 posts views Thread by gs | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.