[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] tcc 0.9.26 on win32 cannot compile Sqlite3 successful
Re: [Tinycc-devel] tcc 0.9.26 on win32 cannot compile Sqlite3 successfully
Wed, 28 Aug 2013 07:54:29 +0800
2013/8/28 Tiago Rodrigues <address@hidden>:
> It is interesting, isn't it? The version which outputs warnings is the one
> that does compile successfully. At any rate, defining _WIN32 doesn't seem
> to alter anything: the executable generated by 0.9.26 generates the SIGILL
> when sqlite3_initialize() is called and has the bad ".stabst" section name,
> and the one generated by 0.9.25 runs to completion with correct ".stabstr"
Try the mob branch, I fixed this bug.
> On Tue, Aug 27, 2013 at 1:57 PM, Stephan Beal <address@hidden> wrote:
>> On Tue, Aug 27, 2013 at 6:43 PM, Tiago Rodrigues <address@hidden>
>>> sqlite3.c:20250: warning: assignment makes pointer from integer without a
>>> sqlite3.c:44872: warning: assignment makes pointer from integer without a
>>> sqlite3.c:77174: warning: assignment makes pointer from integer without a
>> In my experience that's normally caused by a using an implicitly-declared
>> Just out of curiosity: what happens if you add: -D_WIN32 to the compile
>> arguments?i know for a fact that sqlite3 builds just about anywhere, and
>> _suspect_ that it uses config vars not set by tcc. i just peeked at sqlite3
>> and they use _WIN32 to figure out if they're on Windows.
>> ----- stephan beal
>> Tinycc-devel mailing list
> In those days, in those distant days, in those nights, in those remote
> nights, in those years, in those distant years...
> - Gilgamesh, Enkidu and the Underworld
> Tinycc-devel mailing list