By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,587 Members | 1,168 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,587 IT Pros & Developers. It's quick & easy.

static linking & dynamic linking

P: 62
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
Share this Question
Share on Google+
1 Reply


P: 3
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.