"Kalyani Tummala" <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I am a new user of this group (just joined).  First of all I appreciate
> you for creating and maintaining such a small and robust database. I
> have a few simple queries on sqlite regarding footpring. I hope the
> owner has the answers.
> 
>  
> 
> In sqlite features(www.sqlite.org <http://www.sqlite.org/> ) it was
> given that
> 
> *     Small code footprint: less than 250KiB fully configured or less
> than 150KiB with optional features omitted. 
> 
> And There is a document called "Compilation options for sqlite" which
> says to use macro definitions to the compiler and also to the lemon
> tool. 
> 
> On ARM-linux platform with all the features included I got a footprint
> of 260KB 
> 
> When I  turned off these features(all mentioned in Compilation options
> for sqlite doc except SQLITE_OMIT_COMPLETE), the footprint is 249KB. I
> need a footprint of 150K.  How can I get it?
> 

My size numbers are based on using gcc with -Os on Linux-x86.
Your mileage may vary depending on architecture and compiler.

The reduction by using all of the SQLITE_OMIT macros should be
much larger.  Gcc comes with a utility called "size" that shows
the footprint of individual *.o files.  Does your compiler have
a similar facility?  If so, what sizes is it showing for
individual fines when you compile using SQLITE_OMIT macros.
--
D. Richard Hipp  <[EMAIL PROTECTED]>


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

Reply via email to