Re: pgAdmin3.app size?

Поиск
Список
Период
Сортировка
От Florian G. Pflug
Тема Re: pgAdmin3.app size?
Дата
Msg-id 425AF865.7010300@phlo.org
обсуждение исходный текст
Ответ на Re: pgAdmin3.app size?  (OpenMacNews <OpenMacNews@speakeasy.net>)
Ответы Re: pgAdmin3.app size?  (OpenMacNews <OpenMacNews@speakeasy.net>)
Список 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

Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: OpenMacNews
Дата:
Сообщение: Re: pgAdmin3.app size?
Следующее
От: OpenMacNews
Дата:
Сообщение: Re: pgAdmin3.app size?