LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Difference between sources(standards) (https://www.linuxquestions.org/questions/linux-networking-3/difference-between-sources-standards-735976/)

thangappan 06-27-2009 03:50 AM

Difference between sources(standards)
 
What is the difference between iputils ping and inetutils ping source?

(Assumption):

While executing inetutils takes the library from the internet instead of home directory.

osor 06-28-2009 03:25 PM

Why not see for yourself:
http://www.skbuff.net/iputils/iputils-s20071127.tar.bz2
http://ftp.gnu.org/gnu/inetutils/inetutils-1.6.tar.gz

thangappan 06-29-2009 12:07 AM

I have asked What is the main difference between the source which I downloaded from the iputils and inetutils?

For an example only I put ping command.

osor 06-29-2009 06:09 AM

There are many differences in the coding style. For example, one will use QoS and will change the socket based on interface name and the other won’t. It is pointless to enumerate all these when the source is examinable. Also, I don’t understand your “assumption”.

thangappan 07-01-2009 06:14 AM

source
 
Before telling my assumption can you please clarify the answer?

My assumption is:
The source we downloaded from the inetutils give one executable file after running the code.While running it refers the library from the place where we downloaded.But in the case of iputils all the library has to be referred from our directory the place where we stored all the libraries.

nowonmai 07-01-2009 06:18 AM

Are you talking about static vs. dynamic linking?

osor 07-01-2009 12:22 PM

Well iputils ping should be relocatable in the sense that it only links to libc and (the sometimes separate) libresolv.

The inetuitls ping links to a bunch of helper libraries which may be have been linked to shared and with rpath, depending on where you got the package.


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