Re: Python compiled modules are too big in size (even after strip)

2010-04-27 Thread Antoine Pitrou
Le Tue, 27 Apr 2010 02:43:19 -0700, King a écrit : > > Python is compiled and installed successfully. However the > modules(_socket.so, _random.so etc) are two big in terms of file size. > They are around 4.5-5.0 mb each. I have used "strip strip-all *.so", but > still size is around 1.5 mb each.

Re: Python compiled modules are too big in size (even after strip)

2010-04-27 Thread King
Hi Jon, I do have a limited skill sets in c/c++ and also new on linux. I think I am missing some flags or anything when I am compiling python from sources. Still hoping that some one point me out the missing link. Cheers Prashant -- http://mail.python.org/mailman/listinfo/python-list

Re: Python compiled modules are too big in size (even after strip)

2010-04-27 Thread Jon Clements
On 27 Apr, 10:43, King wrote: > Hi, > > I have just compiled python 2.6.5 from sources on ubuntu "hardy" 8.04. > I have used a simple script to do everything in one go: > > ./configure --enable-shared > make > make install > > Python is compiled and installed successfully. However the > modules(_s