Re: pgAdmin3.app size?

From: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
To: OpenMacNews <OpenMacNews(at)speakeasy(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin3.app size?
Date: 2005-04-11 22:21:25
Message-ID: 425AF865.7010300@phlo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

OpenMacNews wrote:
> let's see what's going on ...
>
> right after a clean build/install of pgadmin3 w/:
>
> ./configure \
> --enable-appbundle \
> --enable-static \
> --enable-debug \
> --with-wx=/usr/local/wxWidgets-cvs \
> --with-wx-config=wx-config \
> --with-pgsql=/usr/local/pgsql \
> --with-pgsql-include=/usr/local/pgsql/include
>
> ../PgAdminIII.app/Contents % du -s -h *
> 3.2M Frameworks
> 4.0K Info.plist
> 233M MacOS
> 48K Resources
> 10M SharedSupport
>
> ../PgAdminIII.app/Contents/MacOS % ls -al *
> -rwxr-xr-x 1 root wheel 244080280 Apr 11 08:54 PgAdminIII
>
> ../PgAdminIII.app/Contents/MacOS % strip PgAdminIII
>
> ../PgAdminIII.app/Contents/MacOS % ls -al *
> -rwxr-xr-x 1 root wheel 9766288 Apr 11 14:41 PgAdminIII
>
> and, just for completeness
>
> ../PgAdminIII.app/Contents % du -s -h *
> 3.2M Frameworks
> 4.0K Info.plist
> 9.3M MacOS
> 48K Resources
> 10M SharedSupport
>
> hmmm ... much better.
Ok, so it definitly is the missing "stripping phase" ;-)))

> stripping would/should only occur then in a 'disable-debug' mode,
> correct? or am i misunderstanding?
>
> is it worthwhile to y'all for me to re-build wxwidgets AND pgadmin w/
> debug OFF and see what happens?
If you have the time, it would be great. If you rebuild from scratch anyway,
please use the latest patch from www.phlo.org. The bundle is now named
pgAdmin3.app (to please Dave ;-) ), and I'd like this version of the patch
to be committed to cvs. I you manage to test it first, I'd be gratefull.

> what build scenario is typically being tested here? wxwidgets & pgadmin
> both static, both shared, etc?
I compiled wxwindows as shared lib, since there were some wx-mac bugs until about
15 minutes ago, which I wanted to be able to debug... Some kind fellow
from wx-dev provided a fix today, and the other problem was fixed a few days ago.

I don't know of any other wx bugs influencing pgadmin, so I might switch back to
a static lib...

greetings, Florian Pflug

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message OpenMacNews 2005-04-11 22:27:56 Re: pgAdmin3.app size?
Previous Message OpenMacNews 2005-04-11 22:12:28 Re: pgAdmin3.app size?