Overview
Features
Download
Documentation
Community
Add-Ons & Services

Library size question

Please post support and help requests here.

Library size question

Postby devdavid » 12 Mar 2013, 11:51

When we build the poco lib for android we get the following files and file sizes:

Code: Select all
drwxr-xr-x  10 exjobb  staff   340B Mar 12 09:46 .
drwxr-xr-x   4 exjobb  staff   136B Mar 11 15:57 ..
-rw-r--r--   1 exjobb  staff   3.9M Mar 12 09:43 libPocoFoundation.a
-rw-r--r--   1 exjobb  staff    20M Mar 12 09:43 libPocoFoundationd.a
-rw-r--r--   1 exjobb  staff   609K Mar 12 09:44 libPocoJSON.a
-rw-r--r--   1 exjobb  staff   3.5M Mar 12 09:44 libPocoJSONd.a
-rw-r--r--   1 exjobb  staff   2.5M Mar 12 09:46 libPocoNet.a
-rw-r--r--   1 exjobb  staff    14M Mar 12 09:46 libPocoNetd.a
-rw-r--r--   1 exjobb  staff   1.2M Mar 12 09:45 libPocoXML.a
-rw-r--r--   1 exjobb  staff   6.2M Mar 12 09:45 libPocoXMLd.a


Are both lib: libPocoFoundation and libPocoFoundationd needed? or is the libPocoFoundationd just a debug lib?
Is libPocoFoundation needed for libPocoJSON?

These libraries seem big in size: is there something wrong?

Best Regards!
devdavid
 
Posts: 17
Joined: 11 Mar 2013, 16:10

Re: Library size question

Postby alex » 12 Mar 2013, 14:50

devdavid wrote:is the libPocoFoundationd just a debug lib?

yes
devdavid wrote:Is libPocoFoundation needed for libPocoJSON?

yes
devdavid wrote:These libraries seem big in size: is there something wrong?

probably, your sizes are much bigger (release ~2x, debug ~4x) than what i'm seeing on OSX. are you stripping the symbols from release binaries?
alex
 
Posts: 1130
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Library size question

Postby devdavid » 13 Mar 2013, 16:30

Does this have to be done in the make or is it enough to tell for example XCode to "Strip debug symbols during copy" and "Strip Linked Product", I am linking in POCO JSON and Foundation as static libraries.


Best Regards!
devdavid
 
Posts: 17
Joined: 11 Mar 2013, 16:10


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron