tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Add support for Unicode entries 'wmain' and 'wWinMain


From: avih
Subject: Re: [Tinycc-devel] Add support for Unicode entries 'wmain' and 'wWinMain' on Windows
Date: Sat, 18 Feb 2017 14:32:46 +0000 (UTC)

Thanks. All tests now pass, and so far it seems to behave as expected while building with gcc or tcc itself, and when using the resulting tcc.

The tcctools (only tested -ar) also works as expected and probably simplify things, though I think some tools might work better with a stand alone ar-clone, but so far tcc -ar works for me.

I don't recall an official announcement for tcc 0.9.27, so I'm guessing this big change/refactor is still for 0.9.27?

There's still one more issue I wanted to report, which I think should be fixed before 0.9.27- about libtcc1.a when building with --enable-cross, but I'll create a new email thread for it.


On Saturday, February 18, 2017 11:05 AM, grischka <address@hidden> wrote:


avih wrote:
> This caused tests failures on windows (gcc, normal configure and make, the build succeeds) - missing symbol "main" when running libtcc test, and many later tests too which probably use libtcc in memory.
> Attached are two orthogonal patches, i.e. the test failures happen with or without also building the unicode variants of the crt files, and the tests pass (with the tccpe.c fix) regardless if building with or without the unicode variants.
> I'm not entirely sure the tccpe.c fix is correct, and also not sure whether the wrapper c file is an acceptable solution for re-compiling the same files with different defines and to different .o files. Please either someone pushes a better fix, or tell me how to improve the patches, or just tell me to push it as is.
> Thanks.

I picked up the wrapper suggestion.  See
http://repo.or.cz/tinycc.git/commitdiff/096125d963400951e0f160ced86416ef8c9c98b0

Also, tiny_xxx tools are now integrated:
http://repo.or.cz/tinycc.git/commitdiff/2d3b9559bf569f137cefb7f8386a0dc58e33c81f

Also, new help screen for the advanced options:
    tcc -hh

-- gr

>    On Thursday, February 16, 2017 10:35 PM, grischka <address@hidden> wrote:

>
>  YX Hao wrote:
>> Dear grischka and group,
>> Unicode entry support for windows platform is useful. Especially when
>> developing programs which relays on the Unicode version APIs and takes
>> Unicode arguments, it will help.
>>
>> Here is my patch for this feature. I have used it for about 1 year. It has
>> followed the recent commits (7b99c3ac2c9c1761d68be1192f975a39199be28d).
>>
>> '-run' option is useable. And arguments converted.
>>
>> Since I'm not experienced as you guys. Please give me a review.
>
> Looks good.  Please push.  I will adjust the Makefiles later.
>
> Thanks,
>
> --- grischka
>
>> 
>> Best Regards,
>>
>> YX Hao
>>
>
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel

>
>
>   
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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]