[sqlite] new cross-compiling logic - how do I set build/target copmilers?

2007-07-03 Thread Makavy, Erez (Erez)
I'm trying to cross-compile sqlite 3.4.0, and I see that the cross-compile logic (in configure) was changed since 3.3.14 . Previously I used the environment variable config_BUILD_CC and config_TARGET_CC to set the build/target compilers. How do I now set the build/target compilers? Thanks,

RE: [sqlite] new cross-compiling logic - how do I set build/target copmilers?

2007-07-03 Thread Makavy, Erez (Erez)
: Tuesday, July 03, 2007 5:48 PM To: sqlite-users@sqlite.org Subject: Re: [sqlite] new cross-compiling logic - how do I set build/target copmilers? Makavy, Erez (Erez) [EMAIL PROTECTED] wrote: I'm trying to cross-compile sqlite 3.4.0, and I see that the cross-compile logic (in configure

[sqlite] compiling sqlite-3.4.0: undefined reference to `dlclose'

2007-07-03 Thread Makavy, Erez (Erez)
Hi, The problem: == When cross-compiling sqlite-3.4.0, I encounter this linkage error: ./.libs/libsqlite3.so: undefined reference to `dlclose' ./.libs/libsqlite3.so: undefined reference to `dlopen' ./.libs/libsqlite3.so: undefined reference to `dlsym' The solution: === I

[sqlite] Performance problem with simple queries

2007-02-12 Thread Makavy, Erez \(Erez\)
Problem summery: --- Simple queries sometimes take ~400 ms Analysis: --- - A php script runs the same SQL query several times in different places (in different transactions). Some of the queries take around 400ms while the others (identical queries) takes only 4-20ms.