Thanks Joe. 

I modified my file to use '--strip-unneeded' aswell as putting '-O2
-DTHREADSAFE=1 -DNDEBUG' into my compile line. I have the static library
down to 679.7k (and still linking in my application) but from what I have
read on some of the other forum posts it should be possible to reduce the
file to less than half of this even still. Is there anything else I am
missing?

Thanks.   

-----Original Message-----
From: Joe Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, 27 July 2007 1:27 p.m.
To: sqlite-users@sqlite.org
Subject: RE: [sqlite] Static library cross-compile

Try using "strip -g" instead of "strip".
Alternatively, you could try --strip-unneeded

--- Chris Brown <[EMAIL PROTECTED]> wrote:
> I seem to have resolved the problem below linking to the static 
> library by removing the STRIP command for the static library from the
makefile.
> 
> The problem I now have is that the library is 1.1 MB which is 
> approximately twice the size of what the library was before. This is 
> an embedded application so space is at a premium. Can anyone offer a 
> suggestion to reduce the size of the static library without 
> implementing the STRIP which seems to prevent me from statically linking?
My current configure is:



       
____________________________________________________________________________
________
Sick sense of humor? Visit Yahoo! TV's
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

----------------------------------------------------------------------------
-
To unsubscribe, send email to [EMAIL PROTECTED]
----------------------------------------------------------------------------
-

__________ NOD32 2424 (20070726) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to