Manas Laha wrote:
Rajiv Lodha wrote:
Well, if you are careful to link your binary staticly, then all the necessary library code will be incorporated into the executable, and it can then run on any Linux system that supports ELF binaries, and that means almost any Linux running today. Of course, the executable will be relatively much larger.You cannot "easily" port the binary to other os/distro's, there can be a library / processor or gcc issue.
Shell script can easily be ported to others distros !
And moreover, a script is always preferred than a binary
HTH
Why is a shell script _always_ to be preferred over a binary?
- Manas Laha
I must qualify that statement I made: the staticly linked binary will run on any Linux running on the same kind of processor on which the binary was compiled. I myself have never used any Linux platform other than Intel x86, and so tend to assume that the rest of the world does the same :)
- Manas Laha
***************************************** This Mail is Certified to be Virus Free. CIC Network Security Group, IIT Kharagpur *****************************************
-- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3
