LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2010, 11:47 PM   #1
shilpa rangappa
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Rep: Reputation: 0
static and dynamic link files....


Hello,

Can anyone tell me what is dynamically linked file and statically linked files?

Thanks,
Shilpa
 
Old 01-08-2010, 01:28 AM   #2
Gutsy_Iain_08
LQ Newbie
 
Registered: Jan 2008
Posts: 25

Rep: Reputation: 16
Exclamation

Quote:
Originally Posted by shilpa rangappa View Post
Hello,

Can anyone tell me what is dynamically linked file and statically linked files?

Thanks,
Shilpa
It helps to know the definition of the word dynamic and static.

According to IBM's definition, dynamic means "pertaining to an operation that occurs when it is needed", rather than static which means, "little if any change."

Linked just means "coupled" or "connected", so dynamically linked literately means connected when needed, and statically linked literally means connected with no change.
 
Old 01-08-2010, 01:38 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
A really basic non technical answer:

A program that is dynamically linked reads functions from other library files (libfoo.so) when it runs. A program that is statically linked has had functions from other libraries (libfoo.a) bundled into the executable at compile time.

Evo2.
 
1 members found this post helpful.
Old 01-10-2010, 08:27 PM   #4
shilpa rangappa
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks Evo2....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
static and dynamic linking zb10948 Programming 1 04-27-2009 03:48 AM
Dynamic IP to Static Temujin_12 *BSD 2 06-10-2005 04:58 PM
Static vs Dynamic Big Al Linux - Networking 2 12-08-2003 03:10 PM
NS with static or dynamic IP cijunet Linux - Networking 3 05-08-2003 11:04 PM
Changing from static IP to dynamic one cijunet Linux - Networking 1 04-10-2003 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration