|
From: | James Russell Moore |
Subject: | Re: [Tinycc-devel] Building Unicode applications with TCC in Windows. |
Date: | Sun, 6 Jul 2014 13:59:39 +0200 |
In crt1.c declare main and wmain as weak.
In _start call __getmainargs/main if main and __wgetmainargs/wmain
if !main.
Something more, on windows use a Unicode console environment is not convenient. It's not the default. You may need change the setting times, up and down.
You really want to pass any Unicode argv? Usually there are functions for wide chars can be used.
Look these code adapted from my current develop of bg tool
[Prev in Thread] | Current Thread | [Next in Thread] |