Re: [sqlite] Making the binary small

2008-11-03 Thread Pados Károly
Using strip solved the problem, object file size is down to 114KB. Thank you very much. Károly > The sizes that I mentioned (315KB vs 205KB) are for the final .dll and > .so size. You might try linking your object files into a lib to see > how that affects size. You could also try running th

Re: [sqlite] Making the binary small

2008-10-30 Thread Pados Károly
Just one more clarification: I am measuring the size of the produced .o object file, that is, before linking. That is why I remove -ffunction-sections, but of course, with -ffs would probably produce a smaller binary after linking. The reason is that it is not clear which microcontroller I'll b

Re: [sqlite] Making the binary small

2008-10-30 Thread Pados Károly
First a note: I removed -ffunction-sections from the compiler options, and it is now better, but not good enough (365KB). It was an options the AVR IDE defaulted to, that is why I not noticed it. OMIT_DISKIO is also NOT defined. I am using SQLite version 3.6.4. OTHER_OS=1 and THREADSAFE=0. At

[sqlite] Making the binary small

2008-10-29 Thread Pados Károly
Hello! I'd like to use SQLite on an embedded AVR32 system, the flash program memory being 256kBytes. According to the docs it is possible to reduce the size of the compiled binary to 180KB, but I just cannot get close enough. The best I get is 485Kbytes with omitting every optional feature (exc