On Sat, Jun 30, 2012 at 12:40 AM, Stephan Beal
<address@hidden> wrote:
sqlite4 now compiles just fine with tcc on x64 (and blazing fast - about 8x faster than gcc), but... the test suite crashes on tcc and i don't know why. i hope to take a look at that as the v4 tree stabilizes somewhat (it's very much pre-beta right now).
Just fyi...
The main problem with the tests is that i was inadvertently building libsqlite4 with tcc and the test fixture with gcc, and that didn't go well. sqlite4 now builds and runs on tcc, but the test suite has 3 more failures than gcc (which has 5 failures out of 34621(!) tests for the time being). i have no idea what those tests are yet, or whether it's v4 or tcc (v4 currently contains a lot of copy/paste from v3 which is no longer applicable and has known problems (in the context of v4), so the _real_ number of test failures is unknown).
tcc compiles v4 in about 1/8th the time gcc does (with no optimization). Runtime of all the tests (which contains a large amount of overhead related to tcl):
gcc: 40s (user 38, sys 2)
tcc: 48s (user 46, sys 2)
No optimizations were enabled, just the -g flag.
Not bad, IMO.
tcc 0.9.5 on Ubuntu 12.04 x64.