grab sqlite3's compile/config options via a simple c program
C Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


SQLite is awesome for reads.

For writes, not so much - unless your calling app controls concurrency.

But, it helps to know exactly wtf is happening internally in your sqlite build.

For such a "lite" library, sqlite has an wide combination of threading options.

Compile this bit of code against your sqlite3 headers and libs to figure out your build's threading config.


Designed to compare apple provided sqlite with homebrew installed sqlite.

Modify the flags in the Makefile with custom -I and -L paths to get details for other installs.

Build this program like:


Then get the apple/system sqlite details like:

$ ./sqlite-sys

And get the brew installed sqlite details like:

$ ./sqlite-brew