Dieter skrev:
As suggested in other posts, deleting .pyo and .pyc files gets me down to
6MB. Static libraries (.a files) in /usr/lib and /usr/local/lib still have
mismatching MD5 sums even though no source code change warrants this. Can
I do anything about that?

Perhaps they have an embedded timestamp or version number?

This seems to be the case:

# strings DIR1/usr/lib/libfetch.a > tmp1
# strings DIR2/usr/lib/libfetch.a > tmp2
# diff tmp1 tmp2
2c2
< /               1200728973  0     0     0       954       `
---
> /               1200723259  0     0     0       954       `
57c57
< file.o/         1200728973  0     0     100644  2356      `
---
> file.o/         1200723259  0     0     100644  2356      `
86c86
< http.o/         1200728973  0     0     100644  17180     `
---
> http.o/         1200723258  0     0     100644  17180     `
[...]

The changing number is the modification date of the .o file (I think).

Are static libraries even needed anymore?

Are you going to be compiling anything?

I'm compiling ports, but I could delete the files afterwards. It would be nice to be able to compile stuff in the images in the future, though.

I think I'll just leave the files there for the time being. It's a size reduction of less than 1 MB.

Erik
_______________________________________________
freebsd-performance@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to