[Pythonmac-SIG] Slimmed down framework

Adam Eijdenberg adam@switchedonsoftware.com
Mon, 7 Jan 2002 20:50:50 +1100


On Monday, January 7, 2002, at 08:43  PM, Jack Jansen wrote:

> By default everything is built with "-g", which gives debugging
> symbolic information in all the output files (like plugin
> modules). Turning this off should make quite a difference. You can
> also check to see whether "strip" has an option to strip all
> non-global symbols, and if so you can use that on all .so files to
> make 'm smaller.

On Monday, January 7, 2002, at 07:34  PM, bill fancher wrote:

> Most of the bloat is from debugging symbols. Stripping them brings the 
> framework size down to around 26 MB without losing functionality. To 
> get smaller still, you can dump the lib folder, which brings the entire 
> framework down to about 1.5 MB. You could get away with less. All you 
> really need is the Python library (about 1 MB).

Thanks for both responses. As I get further along the project and this 
becomes necessary I'll post the results to the list if anyone's 
interested. Might save someone else in a similar situation a bit of head 
scratching.

Kind regards,
Adam Eijdenberg
Switched on Software

adam@switchedonsoftware.com
http://www.switchedonsoftware.com/

Phone:  +61 3 6231 3467
Fax:    +61 3 6231 3476
Mobile: +61 4 0704 6857

47 Molle Street
Hobart TAS 7000
Australia