[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain
From: |
YX Hao |
Subject: |
Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain |
Date: |
Wed, 13 Aug 2014 18:45:55 +0800 |
Hi,
From: "grischka" <address@hidden>
YX Hao wrote:
Hi gr and there,
Please take this one. Mixed codes needs more attention. Tested.
- "s->unicode_entry" is used (in compilation) before it is set
(in the link phase).
I used the "build-tcc.bat".
In directory Win32 I run:
gcc -c -Os -fno-strict-aliasing -DTCC_TARGET_PE -DTCC_TARGET_I386 -DLIBTCC_AS_DLL
-DONE_SOURCE ../libtcc.c
gcc -shared -s libtcc.o -o a.dll
It passed. Can you explain what do you mean?
- No matter what, tcc_run() doesn't pass a wchar_t** argv unless
tcc itself is compiled for unicode.
Yes, I agree.
But it generate Unicode output first, and then who need this should
convert tcc's "main" to "_tmain" and the functions that does not
use the Unicode form should be converted. Should it be done now for a
complete Unicode support? It's could be a lot of changes.
Regards,
YX
- [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, YX Hao, 2014/08/10
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, Alexander De Sousa, 2014/08/12
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, grischka, 2014/08/12
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, YX Hao, 2014/08/12
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, YX Hao, 2014/08/12
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, YX Hao, 2014/08/12
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, grischka, 2014/08/12
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain,
YX Hao <=
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, grischka, 2014/08/15
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, YX Hao, 2014/08/16
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, Alexander De Sousa, 2014/08/16
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, grischka, 2014/08/16
- Re: [Tinycc-devel] Win: Add Unicode support for _tmain and _tWinMain, YX Hao, 2014/08/17