tinycc-devel
[Top][All Lists]
Advanced

[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


From: Roy Tam
Subject: Re: [Tinycc-devel] tcc 0.9.26 on win32 cannot compile Sqlite3 successfully
Date: 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"
> section.

Try the mob branch, I fixed this bug.
http://repo.or.cz/w/tinycc.git/commit/807dc7c8de2dcb0365c15b9c2a43ad0c195513dd

>
>
> 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>
>> wrote:
>>>
>>> sqlite3.c:20250: warning: assignment makes pointer from integer without a
>>> cast
>>> sqlite3.c:44872: warning: assignment makes pointer from integer without a
>>> cast
>>> sqlite3.c:77174: warning: assignment makes pointer from integer without a
>>> cast
>>
>>
>> In my experience that's normally caused by a using an implicitly-declared
>> function.
>>
>> 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
>> http://wanderinghorse.net/home/stephan/
>> http://gplus.to/sgbeal
>>
>> _______________________________________________
>> Tinycc-devel mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>>
>
>
>
> --
> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]