[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sqlite-dev
Subject:    [sqlite-dev] fyi: v4 now compiles with tcc 0.9.5
From:       Stephan Beal <sgbeal () googlemail ! com>
Date:       2012-07-01 9:08:48
Message-ID: CAKd4nAi6idwhrn5yDwvO9G2g_Pq0Lk9s_Y1JmU1Cq13qLaG2Nw () mail ! gmail ! com
[Download RAW message or body]

Hiho,

FYI:

[stephan@host:~/cvs/fossil/sqlite4]$ time (make TCC=tcc BCC=tcc &>/dev/null)

real 0m0.985s
user 0m0.532s
sys 0m0.244s

gcc takes about 8 seconds on my box (Linux x64).

the tests have more errors with tcc (either 8 or 11 of 34621 tests,
depending on the temperature and time of day, whereas gcc currently has 5).
Runtime of the tests with tcc is roughly 20% longer (40 vs 48 seconds on my
machine).

It also, since yesterday, builds in C89 mode with two minor caveats
regarding 'long long' and vsnprintf(). If i can find portable workarounds
for those i'll fix that. (sqlite4_vsnprintf() behaves differently and
breaks the vsnprintf()-using LSM code.)

Happy hacking!

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal

[Attachment #3 (text/html)]

Hiho,<div><br></div><div>FYI:</div><div><br></div><div><div>[stephan@host:~/cvs/fossil/sqlite4]$ \
time (make TCC=tcc BCC=tcc &amp;&gt;/dev/null)</div><div><br></div><div>real<span \
class="Apple-tab-span" style="white-space:pre">	</span>0m0.985s</div> <div>user<span \
class="Apple-tab-span" style="white-space:pre">	</span>0m0.532s</div><div>sys<span \
class="Apple-tab-span" \
style="white-space:pre">	</span>0m0.244s</div><div><br></div><div>gcc takes about 8 \
seconds on my box (Linux x64).</div> <div><br></div><div>the tests have more errors \
with tcc (either 8 or 11 of 34621 tests, depending on the temperature and time of \
day, whereas gcc currently has 5). Runtime of the tests with tcc is roughly 20% \
longer (40 vs 48 seconds on my machine).</div> <div><br></div><div>It also, since \
yesterday, builds in C89 mode with two minor caveats regarding &#39;long long&#39; \
and vsnprintf(). If i can find portable workarounds for those i&#39;ll fix that. \
(sqlite4_vsnprintf() behaves differently and breaks the vsnprintf()-using LSM \
code.)</div> <div><br></div><div>Happy hacking!</div><div><br></div>-- <br>----- \
stephan beal<br><a href="http://wanderinghorse.net/home/stephan/" \
target="_blank">http://wanderinghorse.net/home/stephan/</a><div><a \
href="http://gplus.to/sgbeal" target="_blank">http://gplus.to/sgbeal</a></div> <br>
</div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic