Danny Reinhold wrote:

TCC = gcc -g -O2 -DTHREADSAFE=1 -DNDEBUG=1 ........

The important thing is not only the option -DNDEBUG=1 but
mainly -g ofcourse... -DNDEBUG=1 is a SQLite specific directive
while -g is a compiler option for the gcc...


Actually, the -DNDEBUG=1 is not SQLite specific. This is how you disable assert()s. The SQLite library is full of assert()s for sanity checking. But it is smaller and runs twice as fast if you leave them out.


-- D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to