[sqlite] Sqlite 3.4.2 and VC++ : lib size too big
Hi everyone, I just managed to compile Sqlite 3.4.2 under VC++(Visual C++ 2005 Express Edition, the free one). My problem is that I've been trying to shrink the size of the .lib file generated with no luck. Currently the size of my .lib file is 1445kb with the compile options /O1 /Os /Oy and no debugging information. I'm using the amalgamation source file( I don't know if that really makes any difference) It's quite big comparing to the .exe supplied for windows ( by the way, how was sqlite3.exe - - compiled? which compiler and settings were used?) Thanks, Miguel Fuentes
Re: [sqlite] Sqlite 3.4.2 and VC++ : lib size too big
.lib files are generally always much larger than the machine code you get when you finally link it into an exe. what is the problem here? On 9/2/07, Miguel Fuentes [EMAIL PROTECTED] wrote: Hi everyone, I just managed to compile Sqlite 3.4.2 under VC++(Visual C++ 2005 Express Edition, the free one). My problem is that I've been trying to shrink the size of the .lib file generated with no luck. Currently the size of my .lib file is 1445kb with the compile options /O1 /Os /Oy and no debugging information. I'm using the amalgamation source file( I don't know if that really makes any difference) It's quite big comparing to the .exe supplied for windows ( by the way, how was sqlite3.exe - - compiled? which compiler and settings were used?) Thanks, Miguel Fuentes -- Cory Nelson - To unsubscribe, send email to [EMAIL PROTECTED] -
Re: [sqlite] Sqlite 3.4.2 and VC++ : lib size too big
I didn't know .lib were much larger =\ I always use .a files, so my bad I just linked it into my exe and got a final 420kb exe. Thanks for the info =) On 9/2/07, Cory Nelson [EMAIL PROTECTED] wrote: .lib files are generally always much larger than the machine code you get when you finally link it into an exe. what is the problem here? On 9/2/07, Miguel Fuentes [EMAIL PROTECTED] wrote: Hi everyone, I just managed to compile Sqlite 3.4.2 under VC++(Visual C++ 2005 Express Edition, the free one). My problem is that I've been trying to shrink the size of the .lib file generated with no luck. Currently the size of my .lib file is 1445kb with the compile options /O1 /Os /Oy and no debugging information. I'm using the amalgamation source file( I don't know if that really makes any difference) It's quite big comparing to the .exe supplied for windows ( by the way, how was sqlite3.exe - - compiled? which compiler and settings were used?) Thanks, Miguel Fuentes -- Cory Nelson - To unsubscribe, send email to [EMAIL PROTECTED] -
Re: [sqlite] Sqlite 3.4.2 and VC++ : lib size too big
On Sep 2, 2007, at 1:13 PM, Miguel Fuentes wrote: I didn't know .lib were much larger =\ I always use .a files, so my bad I just linked it into my exe and got a final 420kb exe. See also http://www.sqlite.org/cvstrac/wiki?p=SizeOfSqlite D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -