jam_lraep wrote:
I have only downloaded, unzipped SQLite-3.3.3.tar.gz and launched the
followings commands:
./configure
make && make install
if there is another way to compile the library I don't know it...
I am using MINGW as well
I got (3.2.8)
8 Meg with -g3 -O0
450 Kb with -O0
400 kB with -O2
Dont use -g or -g3.
I am not using makefile so I selected my own compiler switches. If you are
using a makefile you have to modify it to remove the -g options.
Max
"jam_lraep" <[EMAIL PROTECTED]> on 16/02/2006 11.05.16
Please respond to sqlite-users@sqlite.org
To: "sqlite-users" <sqlite-users@sqlite.org>
cc:
Subject: [sqlite] SQLITE with MINGW
Hi sqlite-users-help,
I have compiled SQLITE with MINGW and the resultant library libsqlite3.a
results very great (about 8MB), it probably contains the symbols for the
debugger. How can I eliminate them?
Do I have to modify the makefile? Thanks to all.
Cheers Danilo.
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
Danilo,
The -g option tells gcc to add debug symbols to the output file. You can
use the strip command to remove these debug symbols.
When you build sqlite using
./configure
make
the makefile uses libtool to build the library in the .libs
subdirectory. Before you install this library issue the following strip
command to remove the debug symbols.
strip -g .libs/libsqlite3.a
Now when you do
make install
make will use libtool to install the stripped version which is only
about 437K on my machine.
HTH
Dennis Cote