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

List:       sqlite-dev
Subject:    Re: [sqlite-dev] Finding out minimum required gcc version
From:       Stephan Beal <sgbeal () googlemail ! com>
Date:       2012-07-17 17:36:15
Message-ID: CAKd4nAhN6nD8TJXz7ncFG4xKcv0K2s==128N=2aJ_ECVWfqx5A () mail ! gmail ! com
[Download RAW message or body]

On Tue, Jul 17, 2012 at 7:32 PM, Richard Hipp <drh@sqlite.org> wrote:

> On Tue, Jul 17, 2012 at 1:06 PM, Carl Desautels <
> carlin.desautels@senecacollege.ca> wrote:
>
>> Is there a way to determine the minimum gcc version sqlite requires?
>> Specifically when sqlite required a gcc version greater then 3.3.6.
>>
>> This is in reference to:
>> https://bitbucket.org/xerial/sqlite-jdbc/issue/10/dropping-pure-java-support
>> .
>>
>
> The "SQLite" managed by this mailing list and website is pure ANSI-C
> code.  There is no Java.  And so there is no minimum version of gcc
> required.  SQLite works on a variety of C compilers.
>


i've compiled sqlite3 on several compilers in strict C89 mode, and the only
minor portability problem i'm aware of is a single use of "long long" for
the sqlite_int64 type. C89 does not specify long long, but most platforms
seem to have it. AFAIR, gcc's ANSI compatibility was quite good even back
in vsersion 2.95 (around the turn of the century), and it wouldn't surprise
me to see sqlite3 compile on that compiler.

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

[Attachment #3 (text/html)]

<div class="gmail_quote">On Tue, Jul 17, 2012 at 7:32 PM, Richard Hipp <span \
dir="ltr">&lt;<a href="mailto:drh@sqlite.org" \
target="_blank">drh@sqlite.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div class="gmail_quote"><div class="im">On Tue, Jul 17, \
2012 at 1:06 PM, Carl Desautels <span dir="ltr">&lt;<a \
href="mailto:carlin.desautels@senecacollege.ca" \
target="_blank">carlin.desautels@senecacollege.ca</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Is there a way to determine the minimum gcc version sqlite \
requires?<br>Specifically when sqlite required a gcc version greater then 3.3.6.<br>


<br>This is in reference to: <a \
href="https://bitbucket.org/xerial/sqlite-jdbc/issue/10/dropping-pure-java-support" \
target="_blank">https://bitbucket.org/xerial/sqlite-jdbc/issue/10/dropping-pure-java-support</a>.<span><font \
color="#888888"><br>


</font></span></blockquote></div><div><br>The &quot;SQLite&quot; managed by this \
mailing list and website is pure ANSI-C code.  There is no Java.  And so there is no \
minimum version of gcc required.  SQLite works on a variety of C compilers.<br> \
</div></div></blockquote><div><br></div><div><br></div><div>i&#39;ve compiled sqlite3 \
on several compilers in strict C89 mode, and the only minor portability problem \
i&#39;m aware of is a single use of &quot;long long&quot; for the sqlite_int64 type. \
C89 does not specify long long, but most platforms seem to have it. AFAIR, gcc&#39;s \
ANSI compatibility was quite good even back in vsersion 2.95 (around the turn of the \
century), and it wouldn&#39;t surprise me to see sqlite3 compile on that \
compiler.</div> </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>



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

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