file sizes, and cp

Started by tom, June 22, 2005, 11:21:13 AM

Previous topic - Next topic

tom

howdy guys,



I was just messing around,  and compiled newlisp 8.6.0 against uclibc.  the resulting newlisp binary is 147k.  The binary after a "normal" compile is 164k.  The uclibc version is a whopping 17k smaller.



I noticed something strange.  if I copy newlisp to another name, it adds 2k.



# du -h newlisp
147k     newlisp

# cp -p newlisp bob

# du -h bob
149k     bob


if I copy newlisp to /usr/local/bin, the file grows 4k.



What's up with that?  Google didn't help a bit.

pjot

#1
This doesn't happen with me. My newlisp binary has a size of 163248 bytes and will stay this size after copying and moving.



Or it is caused by that uclibc library, or you suffer from some strange Linux virus... which maybe part of this uclibc!



Peter

eddier

#2
Mine keeps the same size too. I'm using Debian testing with the 2.6 kernel. I think thats suppose to use and update the latest libraries. I update every day. But, sometimes cutting edge is a drag because I will get a testing version (broken) of software that over writes a working version.



Eddie